Function servers::proto::merge_bytes

source ·
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.