fn merge_bytes(value: &mut Bytes, buf: &mut Bytes) -> Result<(), DecodeError>
Expand description
Reads a variable-length encoded bytes field from buf
and assign it to value
.
ยงSafety
Callers must ensure buf
outlives value
.
fn merge_bytes(value: &mut Bytes, buf: &mut Bytes) -> Result<(), DecodeError>
Reads a variable-length encoded bytes field from buf
and assign it to value
.
Callers must ensure buf
outlives value
.