Enum DecodingBuffer
pub enum DecodingBuffer<'a>
Variants
-
U8(&'a mut [u8]) A slice of unsigned bytes
-
U16(&'a mut [u16]) A slice of unsigned words
-
U32(&'a mut [u32]) A slice of 32 bit unsigned ints
-
U64(&'a mut [u64]) A slice of 64 bit unsigned ints
-
F16(&'a mut [f16]) A slice of 16 bit IEEE floats
-
F32(&'a mut [f32]) A slice of 32 bit IEEE floats
-
F64(&'a mut [f64]) A slice of 64 bit IEEE floats
-
I8(&'a mut [i8]) A slice of 8 bits signed ints
-
I16(&'a mut [i16]) A slice of 16 bits signed ints
-
I32(&'a mut [i32]) A slice of 32 bits signed ints
-
I64(&'a mut [i64]) A slice of 64 bits signed ints
Implementations
impl<'a> DecodingBuffer<'a>
fn as_bytes(&self) -> &[u8]fn as_bytes_mut(&mut self) -> &mut [u8]fn byte_len(&self) -> usize