You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The length of the data stored in a BytesIO object can be accessed in several ways. The best way seems to be getbuffer().nbytes. But it's not documented here https://docs.python.org/3/library/io.html#io.BytesIO
https://stackoverflow.com/questions/26827055/python-how-to-get-bytesio-allocated-memory-length
The length of the data stored in a BytesIO object can be accessed in several ways. The best way seems to be
getbuffer().nbytes
. But it's not documented herehttps://docs.python.org/3/library/io.html#io.BytesIO
Only here, the gigantic built-in types page https://docs.python.org/3/library/stdtypes.html#memoryview.nbytes
The text was updated successfully, but these errors were encountered: