Skip to main content

encode_ctx_octet_string

Function encode_ctx_octet_string 

Source
pub fn encode_ctx_octet_string(buf: &mut BytesMut, tag: u8, data: &[u8])
Expand description

Encode a context-tagged OctetString. It keeps its own code rather than delegating to encode_ctx_octet_string_to_sink: past u32::MAX octets it saturates the length, where the sink encoder refuses.