[][src]Trait dakv_varint::EncodeVar

pub trait EncodeVar: Sized + Copy {
    fn required_size(self) -> usize;
fn real_encode(self, dst: &mut [u8]);
fn decode_varint(src: &[u8]) -> (Self, usize); fn encode_varint(self) -> Vec<u8> { ... } }

Varint trait

Required methods

fn required_size(self) -> usize

fn real_encode(self, dst: &mut [u8])

fn decode_varint(src: &[u8]) -> (Self, usize)

Loading content...

Provided methods

fn encode_varint(self) -> Vec<u8>

Loading content...

Implementations on Foreign Types

impl EncodeVar for u64[src]

impl EncodeVar for usize[src]

impl EncodeVar for u32[src]

impl EncodeVar for u16[src]

impl EncodeVar for u8[src]

Loading content...

Implementors

Loading content...