PyDocs

Nav

Generic Operating System Services

BytesIO

io

class
  • BytesIO(initial_bytes=b'')
Buffered I/O implementation using an in-memory bytes buffer.
Members of BytesIO

g

getbuffer
Get a read-write view over the contents of the BytesIO object.
getvalue
Retrieve the entire contents of the BytesIO object.

r

read1
Read at most size bytes, returned as a bytes object.
readinto1
In BytesIO, this is the same as readinto().
0 Examples
No examples for io/BytesIO.
See Also
No see-alsos for io/BytesIO
0 Notes
No notes for BytesIO