(buf, value, offset, littleEndian, noAssert)
| 11187 | } |
| 11188 | |
| 11189 | function writeFloat (buf, value, offset, littleEndian, noAssert) { |
| 11190 | if (!noAssert) { |
| 11191 | checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) |
| 11192 | } |
| 11193 | ieee754.write(buf, value, offset, littleEndian, 23, 4) |
| 11194 | return offset + 4 |
| 11195 | } |
| 11196 | |
| 11197 | Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { |
| 11198 | return writeFloat(this, value, offset, true, noAssert) |
no test coverage detected