pub trait StoreBytes {
    // Required methods
    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§

source

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

Safety

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

source

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

Safety

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

source

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

source

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

Implementors§

source§

impl<NI> StoreBytes for u32x4x2_avx2<NI>

source§

impl<S3, S4, NI> StoreBytes for u32x4_sse2<S3, S4, NI>where Self: BSwap,

source§

impl<S3, S4, NI> StoreBytes for u64x2_sse2<S3, S4, NI>where Self: BSwap,

source§

impl<S3, S4, NI> StoreBytes for u128x1_sse2<S3, S4, NI>where Self: BSwap,

source§

impl<W: StoreBytes + BSwap + Copy> StoreBytes for x4<W>

source§

impl<W: StoreBytes + BSwap + Copy, G> StoreBytes for x2<W, G>