[−][src]Trait assembly_core::buffer::Unaligned
Mark this type aligned to a single byte so that it can be used to adress a struct anywhere in a buffer
Associated Types
Loading content...Required methods
Loading content...Provided methods
pub fn cast(buffer: &[u8], offset: u32) -> &Self
[src]
Cast a buffer to a reference
pub fn cast_slice(buffer: &[u8], offset: u32, len: u32) -> &[Self]
[src]
Cast a buffer to a slice