pub fn to_vec<T, BO>(value: &T) -> Result<Vec<u8>>where T: Serialize, BO: ByteOrder,
Serialize to Vec<u8>
Vec<u8>