method
memmap.
tostring
A compatibility alias for tobytes, with exactly the same behavior.
tobytes
Despite its name, it returns bytes not strs.
str
Deprecated since version 1.19.0.