Function redis_protocol::resp3::encode::streaming::encode_string_chunk [−][src]
pub fn encode_string_chunk(
buf: &mut [u8],
offset: usize,
data: &[u8]
) -> Result<usize, RedisProtocolError>
Expand description
Encode the bytes making up one chunk of a streaming blob string.
If data
is empty this will do the same thing as encode_end_string to signal that the streamed string is finished.