encode_dataset

Function encode_dataset 

Source
pub fn encode_dataset<T, F>(items: &[T], encode_fn: F) -> Bytes
where F: Fn(&T) -> Bytes,
Expand description

Concatenate multiple encoded dataset entries into a single Bytes buffer.