Function encode_end_string

Source
pub fn encode_end_string(
    buf: &mut [u8],
    offset: usize,
) -> Result<usize, RedisProtocolError>
Available on crate feature resp3 only.
Expand description

Encode the terminating bytes at the end of a streaming blob string.

Returns the new offset in buf.