(self, name)
return self.array_len(dimensions) * values.size_bytes(name)
Return the byte size of an array, if it exists. Return 0 otherwise.
Return the byte size of an array, if it exists. Return 0 otherwise.
Return the byte size of an array if it exists . Return 0 otherwise .
def array_size_bytes(self, name):
        """Return the byte size of an array, if it exists. Return 0 otherwise."""
        try:
            dimensions = self._dims[name]
        except KeyError:
            return 0
        return self.array_len(dimensions) * values.size_bytes(name)
def array_size_bytes ( self , name ) : try : dimensions = self . _dims [ name ] except KeyError : return 0 return self . array_len ( dimensions ) * values . size_bytes ( name )