pub(super) fn pack_global_ids<'buffer, V: ToGlobalId + Copy>(
values: &[V],
bits: u8,
buffer: &'buffer mut [u8; 8192],
) -> Result<&'buffer [u8]>Expand description
Packs each value’s global id into buffer and returns the packed bytes.
§Errors
Returns ErrorKind::InvalidData if a global id does not fit in bits.