Skip to main content

encode_text

Function encode_text 

Source
pub fn encode_text(s: &str) -> String
Expand description

Encode a Rust string for the wire, escaping the four reserved characters that would otherwise be interpreted as structure.