pub fn binary_write_vec<T>(f: &mut File, x: &[T]) -> Result<(), Error> where T: BinaryInputOutputSafe,