pub fn write_vec<W: Writer, T>( input: &Vec<T>, writer: &mut W, ) -> Result<(), Error>where T: Writeable,
Writes a vector of writeable to the given writer.