asFloat64List method Null safety
Creates a Float64List view of a region of this byte buffer.
The view is backed by the bytes of this byte buffer.
Any changes made to the
Float64List will also change the buffer,
and vice versa.
The viewed region start at
offsetInBytes, which must be 64-bit aligned,
length 64-bit integers.
length is omitted, the range extends as far towards the end of
the buffer as possible -
if lengthInBytes is not divisible by eight, the last bytes can't be part
of the view.
The start index and length must describe a valid 64-bit aligned range of the buffer:
offsetInBytesmust not be negative,
offsetInBytesmust be divisible by eight,
lengthmust not be negative, and
offsetInBytes + length * 8must not be greater than lengthInBytes.
Float64List asFloat64List([int offsetInBytes = 0, int? length]) => new UnmodifiableFloat64ListView( _data.asFloat64List(offsetInBytes, length));