Skip to main content

encode_into

Function encode_into 

Source
pub fn encode_into(
    input: &[u8],
    output: &mut [u8],
) -> Result<usize, OutputTooSmall>
Expand description

Encodes into caller-provided storage.

The output is produced by the same state machine as streaming encoding.