pub trait PackVec<T, I>: IntoIterator<Item = I>{
// Required method
fn pack(self) -> T;
}
Expand description
A syntactic sugar to convert a vector of binary data into one binary data.
pub trait PackVec<T, I>: IntoIterator<Item = I>{
// Required method
fn pack(self) -> T;
}
A syntactic sugar to convert a vector of binary data into one binary data.