Creates a BufReader out of a given buf
.
Creates a BufReader out of a given buf
.
Chunk the output of a given Reader by at most chunkSize
(bytes).
Chunk the output of a given Reader by at most chunkSize
(bytes). This consumes the
reader.
Wraps a Reader[Buf] and emits frames as decided by framer
.
Wraps a Reader[Buf] and emits frames as decided by framer
.
The returned Reader
may not be thread safe depending on the behavior
of the framer.
Read the entire bytestream presented by r
.