Skip to main content

encode_punycode_into_bytes

Function encode_punycode_into_bytes 

Source
pub fn encode_punycode_into_bytes<'a>(
    value: &str,
    out: &'a mut Vec<u8>,
) -> &'a str
Expand description

Punycode encode into a Vec of bytes.

Please note that, per Appendix C of RFC 3492, this uses usizes instead of u32s.

In practice this means nothing but someone’s going to complain so I figured I’d explain myself early.