pub fn extend_encode_borrowed(
buf: &mut BytesMut,
frame: &BorrowedFrame<'_>,
int_as_blobstring: bool,
) -> Result<usize, RedisProtocolError>
Available on crate features
resp3
and bytes
only.Expand description
Attempt to encode a borrowed frame at the end of buf
, extending the buffer before encoding.
Returns the number of bytes encoded.