pub struct VLQDecoder {
in_progress: u64,
shift: u32,
}
Expand description
Decoder for zig-zag encoded variable length (VLW) integers
See also: https://avro.apache.org/docs/1.11.1/specification/#primitive-types-1 https://protobuf.dev/programming-guides/encoding/#varints
Fields§
§in_progress: u64
Scratch space for decoding VLQ integers
shift: u32
Implementations§
Trait Implementations§
Source§impl Debug for VLQDecoder
impl Debug for VLQDecoder
Source§impl Default for VLQDecoder
impl Default for VLQDecoder
Source§fn default() -> VLQDecoder
fn default() -> VLQDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VLQDecoder
impl RefUnwindSafe for VLQDecoder
impl Send for VLQDecoder
impl Sync for VLQDecoder
impl Unpin for VLQDecoder
impl UnwindSafe for VLQDecoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more