PyDocs

Nav

Generic Operating System Services

BytesIO.read1

io

method of BytesIO
  • BytesIO.read1(size=-1, /)
Read at most size bytes, returned as a bytes object.

If the size argument is negative or omitted, read until EOF is
reached.  Return an empty bytes object at EOF.
Changed in 3.7
  • 3.7: The size argument is now optional.
0 Examples
No examples for io/BytesIO.read1.
See Also
No see-alsos for io/BytesIO.read1
0 Notes
No notes for BytesIO.read1