pub fn pack_helper<T: Packable>(t: T, buf: &mut [u8]) -> &mut [u8] ⓘExpand description
pack_helper takes a Packable object and an &mut [u8] and does the work to serialize the
packable into a prefix of the buffer. The return value is the portion of the buffer that
remains unfilled after this operation.