base64

Function encode_engine_slice

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

Encode arbitrary octets as base64 into a supplied slice.

See Engine::encode_slice.