pub trait BitWrapExt {
// Required methods
fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
fn unpack(&mut self, src: &[u8]) -> Result<usize, BitWrapError>;
fn len(&self) -> usize;
}pub trait BitWrapExt {
// Required methods
fn pack(&self) -> Result<Vec<u8>, BitWrapError>;
fn unpack(&mut self, src: &[u8]) -> Result<usize, BitWrapError>;
fn len(&self) -> usize;
}