void writeFloat64(double f, [Endian endian = Endian.big]) { _ensureSize(8); _scratchData?.setFloat64(_scratchOffset, f, endian); _scratchOffset += 8; }