pub fn concat_fragments<'a>( fragments: &[&'a [u8]], max_bytes: usize, ) -> Result<Cow<'a, [u8]>, EncapError>