Skip to main content

put_compact_string

Function put_compact_string 

Source
pub fn put_compact_string<B: BufMut>(
    buf: &mut B,
    s: &str,
) -> Result<(), ProtocolError>
Expand description

ยงErrors

Returns ProtocolError::LengthOverflow when the length does not fit its prefix.