PyDocs

Nav

Generic Operating System Services

BufferedReader.read1

  • BufferedReader.read1(size=-1, /)
Read and return up to size bytes, with at most one read() call to the underlying raw stream.

Return an empty bytes object on EOF.
A short result does not imply that EOF is imminent.
Changed in 3.7
  • 3.7: The size argument is now optional.
0 Examples
No examples for io/BufferedReader.read1.
See Also
No see-alsos for io/BufferedReader.read1
0 Notes
No notes for BufferedReader.read1