pub fn read_bytes<B: ByteOrder, const ALIGN: usize, const SOL_MODE: bool>( buf: &impl Buf, offset: usize, ) -> Result<Bytes, CodecError>