Function binbin::write_vec[][src]

pub fn write_vec<F, E, R>(into: &mut Vec<u8>, f: F) -> Result<R> where
    for<'w> F: FnOnce(&mut Writer<'w, &mut Cursor<&mut Vec<u8>>, E>) -> Result<R>,
    E: Endian
Expand description

Generic equivalent of write_vec_le and write_vec_be, with endianness selected by a type parameter.