encode

Function encode 

Source
pub fn encode(
    input: &[u8],
    output: &mut String,
    bits: u64,
) -> Result<(), ZBase32Error>
Expand description

Encode a slice of octets (bytes) to a String.

The output characters will be appended to output.

The length of input must match the value returned by required_octets_buffer_len. The output buffer will be extended by to accommodate the output.

This method is not available in no_std mode.