buf.readDoubleBE(offset[, noAssert])
buf.readDoubleLE(offset[, noAssert])
- offset {Number} 0 <= offset <= buf.length - 8
- noAssert {Boolean} 默认:false
- 返回:{Number}
buf.readDoubleBE();
// Returns: 8.20788039913184e-304
buf.readDoubleLE();
// Returns: 5.447603722011605e-270
buf.readDoubleLE(1);
// throws RangeError: Index out of range
buf.readDoubleLE(1, true); // Warning: reads passed end of buffer!
// Segmentation fault! don't do this!