Trait parquet2::encoding::bitpacked::Unpackable
source · pub trait Unpackable: Copy + Sized + Default {
type Packed: Packed;
type Unpacked: Unpacked<Self>;
fn unpack(packed: &[u8], num_bits: usize, unpacked: &mut Self::Unpacked);
fn pack(unpacked: &Self::Unpacked, num_bits: usize, packed: &mut [u8]);
}
Expand description
A type representing a type that can be bitpacked and unpacked by this crate.