[][src]Trait tari_utilities::extend_bytes::ExtendBytes

pub trait ExtendBytes {
    fn append_raw_bytes(&self, buf: &mut Vec<u8>);
}

this trait allows us to call append_raw_bytes and get the raw bytes of the type

Required methods

fn append_raw_bytes(&self, buf: &mut Vec<u8>)

Loading content...

Implementations on Foreign Types

impl<T> ExtendBytes for Vec<T> where
    T: ExtendBytes
[src]

impl<T> ExtendBytes for [T] where
    T: ExtendBytes
[src]

impl ExtendBytes for str[src]

impl<'_> ExtendBytes for &'_ str[src]

impl ExtendBytes for String[src]

impl ExtendBytes for i8[src]

impl ExtendBytes for i16[src]

impl ExtendBytes for i32[src]

impl ExtendBytes for i128[src]

impl ExtendBytes for u8[src]

impl ExtendBytes for u16[src]

impl ExtendBytes for u32[src]

impl ExtendBytes for u64[src]

impl ExtendBytes for u128[src]

impl ExtendBytes for bool[src]

impl ExtendBytes for DateTime<Utc>[src]

Loading content...

Implementors

Loading content...