MCPcopy Create free account
hub / github.com/SocketCluster/socketcluster / checkIEEE754

Function checkIEEE754

app/public/socketcluster-client.js:4083–4086  ·  view source on GitHub ↗
(buf, value, offset, ext, max, min)

Source from the content-addressed store, hash-verified

4081}
4082
4083function checkIEEE754 (buf, value, offset, ext, max, min) {
4084 if (offset + ext > buf.length) throw new RangeError('Index out of range')
4085 if (offset < 0) throw new RangeError('Index out of range')
4086}
4087
4088function writeFloat (buf, value, offset, littleEndian, noAssert) {
4089 value = +value

Callers 2

writeFloatFunction · 0.85
writeDoubleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…