[][src]Function index_datamanip::defs::decode

pub fn decode<T: DeserializeOwned + Debug>(input: &[u8]) -> Result<Vec<T>>

Deserialize the bin data into a vec of T

Only Parse7 (HC, SCoRE) encoded bins are supported

TODO: This really should be an iterator, not a vec. It would offer better performance if data is immediately transformed, and be trivially collected into a vec if that's all that's desired