numpy.ma.MaskType.nbytes

attribute

ma.MaskType.nbytes

The length of the scalar in bytes.