writeAllFloat64 method

int writeAllFloat64(
  1. List<double> ns
)

Writes all ns as double 64 bits.

Implementation

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