Trait packed_struct::types::bits::ByteArray[][src]

pub trait ByteArray: Clone {
    fn len() -> usize;
fn as_bytes_slice(&self) -> &[u8]
Notable traits for &'_ [u8]
impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
fn as_mut_bytes_slice(&mut self) -> &mut [u8]
Notable traits for &'_ [u8]
impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
fn rotate_right(&mut self, bytes: usize);
fn new(value: u8) -> Self; }
Expand description

Helper that allows us to cast a fixed size array into a byte slice.

Required methods

Implementations on Foreign Types

Implementors