pub fn encode_to_vec<'a, S: AsRef<str>>( text: S, ascii_set: &'static AsciiSet, output: &'a mut Vec<u8>, ) -> &'a [u8] ⓘ
Write text to a mutable Vec<u8> reference and return the encoded data slice.
Vec<u8>