Struct streamvbyte64::Coder0124
source · pub struct Coder0124(_);Expand description
Coder0124 packs 32-bit integers into lengths of 0, 1, 2, or 4 bytes.
This implementation has acceleration support on little-endian aarch64 targets using NEON instructions.
Trait Implementations§
source§impl Coder for Coder0124
impl Coder for Coder0124
source§fn new() -> Self
fn new() -> Self
Create a new
Coder, selecting the fastest implementation available. Read moresource§fn encode(&self, values: &[u32], tags: &mut [u8], encoded: &mut [u8]) -> usize
fn encode(&self, values: &[u32], tags: &mut [u8], encoded: &mut [u8]) -> usize
Encodes a slice of values, writing tags and data to separate streams. Read more
source§fn encode_deltas(
&self,
initial: u32,
values: &[u32],
tags: &mut [u8],
encoded: &mut [u8]
) -> usize
fn encode_deltas( &self, initial: u32, values: &[u32], tags: &mut [u8], encoded: &mut [u8] ) -> usize
Encodes a slice of values, writing tags and data to separate streams. Read more
source§fn decode(&self, tags: &[u8], encoded: &[u8], values: &mut [u32]) -> usize
fn decode(&self, tags: &[u8], encoded: &[u8], values: &mut [u32]) -> usize
Decodes input tags and data streams to an output slice. Read more
source§fn decode_deltas(
&self,
initial: u32,
tags: &[u8],
encoded: &[u8],
values: &mut [u32]
) -> usize
fn decode_deltas( &self, initial: u32, tags: &[u8], encoded: &[u8], values: &mut [u32] ) -> usize
Decodes input tags and data streams to an output slice. Read more
source§fn data_len(&self, tags: &[u8]) -> usize
fn data_len(&self, tags: &[u8]) -> usize
Returns the data length of all the groups encoded by
tags.impl Copy for Coder0124
Auto Trait Implementations§
impl RefUnwindSafe for Coder0124
impl Send for Coder0124
impl Sync for Coder0124
impl Unpin for Coder0124
impl UnwindSafe for Coder0124
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more