pub fn put_array<T>( dst: &mut BytesMut, arr: &[T], put: impl Fn(&mut BytesMut, &T) )
A utility function to put a Vec into a BytesMut.
Vec
BytesMut