writeFloat32 method

void writeFloat32(
  1. double f, [
  2. Endian endian = Endian.big
])

Implementation

void writeFloat32(double f, [Endian endian = Endian.big]) {
  _ensureSize(4);
  _scratchData?.setFloat32(_scratchOffset, f, endian);
  _scratchOffset += 4;
}