Struct varu64::nb::LengthValueLimitDecoder [−][src]
pub struct LengthValueLimitDecoder(_, _);
Expand description
State for decoding a VarU64 followed by that many bytes into a Vec<u8>
, erroring if
the VarU64 is greater than a limit.
Implementations
Create a new LengthValueLimitDecoder
, only accepting values up to length limit
.