macro_toolset::base64

Function encode_engine_slice

Source
pub fn encode_engine_slice<E, T>(
    input: T,
    output_buf: &mut [u8],
    engine: &E,
) -> Result<usize, EncodeSliceError>
where E: Engine, T: AsRef<[u8]>,
👎Deprecated since 0.21.0: Use Engine::encode_slice
Expand description

Encode arbitrary octets as base64 into a supplied slice.

See Engine::encode_slice.