url_escape

Function encode_to_vec

Source
pub fn encode_to_vec<'a, S: AsRef<str>>(
    text: S,
    ascii_set: &'static AsciiSet,
    output: &'a mut Vec<u8>,
) -> &'a [u8] 
Expand description

Write text to a mutable Vec<u8> reference and return the encoded data slice.