Trait packed_struct::types::bits::ByteArray [−][src]
pub trait ByteArray: Clone {
fn len() -> usize;
fn as_bytes_slice(&self) -> &[u8]ⓘ;
fn as_mut_bytes_slice(&mut self) -> &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.