(buf, offset, littleEndian, noAssert)
| 48271 | } |
| 48272 | |
| 48273 | function _readDouble (buf, offset, littleEndian, noAssert) { |
| 48274 | if (!noAssert) { |
| 48275 | assert(typeof littleEndian === 'boolean', 'missing or invalid endian') |
| 48276 | assert(offset + 7 < buf.length, 'Trying to read beyond buffer length') |
| 48277 | } |
| 48278 | |
| 48279 | return ieee754.read(buf, offset, littleEndian, 52, 8) |
| 48280 | } |
| 48281 | |
| 48282 | Buffer.prototype.readDoubleLE = function (offset, noAssert) { |
| 48283 | return _readDouble(this, offset, true, noAssert) |
no test coverage detected