pub const fn encode_raw_mut(src: &[u8], dst: &mut [u8]) -> usizeExpand description
Encodes bytes into a mutable buffer without padding.
§Arguments
src- The byte slice to encodedst- The mutable buffer to write encoded characters to
§Returns
The number of characters written to dst.
§Example
use omp_core::base32;
let mut buf = [0u8; 16];
let n = base32::encode_raw_mut(b"hello", &mut buf);