method
masked_array.
tostring
This function is a compatibility alias for tobytes. Despite its name it returns bytes not strings.