Module tungstenite::buffer
source · Expand description
A buffer for reading data from the network.
The ReadBuffer
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§
- A FIFO buffer for reading packets from the network.