pub fn write_frame(dst: &mut impl BufMut, inner: &[u8])
Write a frame (length-prefixed) into the destination buffer. inner is the already-encoded packet data (packet ID + payload).
inner