[][src]Crate input_buffer

A buffer for reading data from the network.

The InputBuffer is a buffer of bytes similar to a first-in, first-out queue. It is filled by reading from a stream supporting Read and is then accessible as a cursor for reading bytes.

Structs

DoRead

The reference to the buffer used for reading.

InputBuffer

A FIFO buffer for reading packets from network.

SizeLimit

Size limit error.

Constants

MIN_READ

The recommended minimum read size.