pub fn encode_vec_including_sentinels(source: &[u8]) -> Vec<u8> ⓘAvailable on crate feature
alloc only.Expand description
Encodes the source buffer into a vector, using the encode function, while also adding
the sentinels around the encoded frame.