Skip to main content

encode_app_octet_string

Function encode_app_octet_string 

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

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