NumPy

numpy.record.itemsize

attribute

record.itemsize

length of one element in bytes