pub fn write_prefix_vec<W, E, I>(
    writer: &mut W,
    vector: &[I]
) -> Result<usize, E> where
    W: Write,
    E: From<SerError> + From<IOError> + Error,
    I: ByteFormat<Error = E>, 
Expand description

Convenience function to write a Bitcoin-style length-prefixed vector.