pub struct CollectionVarInt;Expand description
Custom variable-length integer encoding for Collection metadata Different from standard varint - uses prefix bits to indicate length
Format:
- 0-127: 1 byte (0xxxxxxx)
- 128-16511: 2 bytes (10xxxxxx xxxxxxxx)
- 16512-2113663: 3 bytes (110xxxxx xxxxxxxx xxxxxxxx)
- etc.
Implementations§
Auto Trait Implementations§
impl Freeze for CollectionVarInt
impl RefUnwindSafe for CollectionVarInt
impl Send for CollectionVarInt
impl Sync for CollectionVarInt
impl Unpin for CollectionVarInt
impl UnwindSafe for CollectionVarInt
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