Return $(D_KEYWORD true) if the buffer is empty and $(D_PSYMBOL feedEof()) was called.
Feed $(D_PSYMBOL data) bytes in the internal buffer. Any operations waiting for the data will be resumed.
Acknowledge the EOF.
Read up to $(D_PSYMBOL n) bytes. If $(D_PSYMBOL n) is not provided, or set to -1, read until EOF and return all read bytes.
Read exactly $(D_PSYMBOL n) bytes. Raise an $(D_PSYMBOL IncompleteReadError) if the end of the stream is reached before $(D_PSYMBOL n) bytes can be read, the $(D_PSYMBOL IncompleteReadError.partial) attribute of the exception contains the partial read bytes.
Read one line, where “line” is a sequence of bytes ending with '\n'.
Set the exception.
Set the transport.
Get the exception.