(buf, offset, littleEndian, noAssert)
| 48254 | } |
| 48255 | |
| 48256 | function _readFloat (buf, offset, littleEndian, noAssert) { |
| 48257 | if (!noAssert) { |
| 48258 | assert(typeof littleEndian === 'boolean', 'missing or invalid endian') |
| 48259 | assert(offset + 3 < buf.length, 'Trying to read beyond buffer length') |
| 48260 | } |
| 48261 | |
| 48262 | return ieee754.read(buf, offset, littleEndian, 23, 4) |
| 48263 | } |
| 48264 | |
| 48265 | Buffer.prototype.readFloatLE = function (offset, noAssert) { |
| 48266 | return _readFloat(this, offset, true, noAssert) |
no test coverage detected