pub fn try_encode_including_sentinels(
source: &[u8],
dest: &mut [u8],
) -> Result<usize, DestBufTooSmallError>Expand description
Encodes the source buffer into the dest buffer, including the default sentinel values 0
around the encoded frame.
ยงReturns
The number of bytes written to in the dest buffer.
If the destination buffer does not have enough room, an error will be returned.