Trait Serialize
generic_uvarint::encode
pub trait Serialize: Copy + Sized { type MaxEncLen: ArrayLength<u8>; fn encode(self, buf: &mut GenericArray<u8, Self::MaxEncLen>) -> &[u8]; }
type MaxEncLen: ArrayLength<u8>
fn encode(self, buf: &mut GenericArray<u8, Self::MaxEncLen>) -> &[u8]
impl Serialize for u8
type MaxEncLen = U2
impl Serialize for u16
type MaxEncLen = U3
impl Serialize for u32
type MaxEncLen = U5
impl Serialize for u64
type MaxEncLen = U10
impl Serialize for u128
type MaxEncLen = U19
impl Serialize for usize