MCPcopy Index your code
hub / github.com/nodejs/node / writeFloatBackwards

Function writeFloatBackwards

lib/internal/buffer.js:948–958  ·  view source on GitHub ↗
(val, offset = 0)

Source from the content-addressed store, hash-verified

946}
947
948function writeFloatBackwards(val, offset = 0) {
949 val = +val;
950 checkBounds(this, offset, 3);
951
952 float32Array[0] = val;
953 this[offset++] = uInt8Float32Array[3];
954 this[offset++] = uInt8Float32Array[2];
955 this[offset++] = uInt8Float32Array[1];
956 this[offset++] = uInt8Float32Array[0];
957 return offset;
958}
959
960class FastBuffer extends Uint8Array {}
961

Callers

nothing calls this directly

Calls 1

checkBoundsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…