pub fn encode_ctx_character_string(
buf: &mut BytesMut,
tag: u8,
value: &str,
) -> Result<(), Error>Expand description
Encode a context-tagged CharacterString (UTF-8). Delegates to
encode_ctx_character_string_to_sink; a string too long for a header’s
32-bit length is Error::Encode, with nothing written.