NumPy

numpy.record.nbytes

attribute

record.nbytes

length of item in bytes