Function encode_string

Source
pub fn encode_string(
    string: &str,
    bytes: &mut [u8],
) -> Result<usize, EncodeError>