Function write_vec

Source
pub fn write_vec<T, W, F>(f: F, values: &[T], w: &mut W) -> Result<(), Error>
where W: Write, F: Fn(&T, &mut W) -> Result<(), Error>,
Expand description

Write a list of elements, with length-prefixing.