pub fn encode<T, I>(iterable: I) -> Result<Vec<u8>, Box<dyn Error>>where T: IntoBytes, I: IntoIterator<Item = T>,