Trait stream_vbyte::decode::DecodeSingleSink
source · pub trait DecodeSingleSink {
// Required method
fn on_number(&mut self, num: u32, nums_decoded: usize);
}
Expand description
Receives numbers decoded via a Decoder in DecodeCursor.decode_sink()
that weren’t handed to
DecodeQuadSink.on_quad()
, whether because the Decoder
implementation doesn’t have a natural
quad representation, or because the numbers are part of a trailing partial quad.