pub(crate) fn extend_buf(buf: &mut ByteBuffer, data: impl Buf)
Append all bytes of data to buf.
data
buf