Skip to main content

encode_app_bit_string

Function encode_app_bit_string 

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

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