Skip to main content

encode_blob_error

Function encode_blob_error 

Source
pub fn encode_blob_error(out: &mut Vec<u8>, msg: &[u8])
Expand description

!<len>\r\n<error>\r\n — length-prefixed error. Use when the error payload contains CRLF (the simple -... shape can’t encode it).