[−][src]Trait streamcatcher::NeedsBytes
Common trait required by transforms, specifying how many contiguous bytes are needed
for any read(...)
to succeed.
Provided methods
fn min_bytes_required(&self) -> usize
The minimum amount of contiguous bytes required in any rope segment.
Larger choices can simplify serialisation across rope segments (i.e., 2
would
ensure that a u16
will never be split across segment boundaries).
Defaults to 1
.