monero_io

Function write_vec

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

Write a list of elements, with length-prefixing.