writeAllFloat32 method

int writeAllFloat32(
  1. List<double> ns
)

Writes all ns as double 32 bits.

Implementation

int writeAllFloat32(List<double> ns) {
  final length = ns.length;
  var byteData = ByteData(4);
  var sz = 0;
  for (var i = 0; i < length; ++i) {
    sz += _writeFloat32(ns[i], byteData);
  }
  return sz;
}