multiversx_sc::formatter

Trait FormatByteReceiver

Source
pub trait FormatByteReceiver {
    type Api: ManagedTypeApi;

    // Required methods
    fn append_bytes(&mut self, bytes: &[u8]);
    fn append_managed_buffer(&mut self, item: &ManagedBuffer<Self::Api>);
    fn append_managed_buffer_lower_hex(
        &mut self,
        item: &ManagedBuffer<Self::Api>,
    );
    fn append_managed_buffer_binary(&mut self, item: &ManagedBuffer<Self::Api>);
}

Required Associated Types§

Required Methods§

Source

fn append_bytes(&mut self, bytes: &[u8])

Source

fn append_managed_buffer(&mut self, item: &ManagedBuffer<Self::Api>)

Source

fn append_managed_buffer_lower_hex(&mut self, item: &ManagedBuffer<Self::Api>)

Source

fn append_managed_buffer_binary(&mut self, item: &ManagedBuffer<Self::Api>)

Implementors§