coroutine read(n=-1)
Read up to n bytes. If n is not provided, or set to -1
, read until EOF and return all read bytes.
If the EOF was received and the internal buffer is empty, return an empty bytes
object.
This method is a coroutine.
coroutine read(n=-1)
Read up to n bytes. If n is not provided, or set to -1
, read until EOF and return all read bytes.
If the EOF was received and the internal buffer is empty, return an empty bytes
object.
This method is a coroutine.
Please login to continue.