[][src]Trait ppv_lite86::StoreBytes

pub trait StoreBytes {
    unsafe fn unsafe_read_le(input: &[u8]) -> Self;
unsafe fn unsafe_read_be(input: &[u8]) -> Self;
fn write_le(self, out: &mut [u8]);
fn write_be(self, out: &mut [u8]); }

Required methods

unsafe fn unsafe_read_le(input: &[u8]) -> Self[src]

Safety

Caller must ensure the type of Self is appropriate for the hardware of the execution environment.

unsafe fn unsafe_read_be(input: &[u8]) -> Self[src]

Safety

Caller must ensure the type of Self is appropriate for the hardware of the execution environment.

fn write_le(self, out: &mut [u8])[src]

fn write_be(self, out: &mut [u8])[src]

Loading content...

Implementors

Loading content...