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

Function writeFloatForwards

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

Source from the content-addressed store, hash-verified

934}
935
936function writeFloatForwards(val, offset = 0) {
937 val = +val;
938 checkBounds(this, offset, 3);
939
940 float32Array[0] = val;
941 this[offset++] = uInt8Float32Array[0];
942 this[offset++] = uInt8Float32Array[1];
943 this[offset++] = uInt8Float32Array[2];
944 this[offset++] = uInt8Float32Array[3];
945 return offset;
946}
947
948function writeFloatBackwards(val, offset = 0) {
949 val = +val;

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…