pub fn encode_into( input: &[u8], output: &mut [u8], ) -> Result<usize, OutputTooSmall>
Encodes into caller-provided storage.
The output is produced by the same state machine as streaming encoding.