Function coins_core::ser::write_prefix_vec

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

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