readFloat32Array method

  1. @override
Float32List readFloat32Array(
  1. int length,
  2. String label
)
override

Implementation

@override
Float32List readFloat32Array(int length, String label) {
  Float32List list = Float32List(length);
  for (int i = 0; i < length; i++) {
    list[i] = _raw.getFloat32(_readIndex, Endian.little);
    _readIndex += 4;
  }
  return list;
  //int offset = _readIndex;
  //return _raw.buffer.asFloat32List(offset+_raw.offsetInBytes, length);
}