pub fn encode_dataset<T, F>(items: &[T], encode_fn: F) -> Byteswhere F: Fn(&T) -> Bytes,
Concatenate multiple encoded dataset entries into a single Bytes buffer.
Bytes