Functions
- Read a u16 length prefixed frame from
Stream
intobuf
. - Write the contents of
buf
tostream
prefixed with a u16 length. The length ofbuf
must be less than or equal to u16::max_value().
Stream
into buf
.buf
to stream
prefixed with a u16 length.
The length of buf
must be less than or equal to u16::max_value().