pub fn encode_string(value: &str) -> Vec<u8> ⓘ
Encode a string directly without constructing a Value.