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

Function writeU_Int32LE

lib/internal/buffer.js:696–708  ·  view source on GitHub ↗
(buf, value, offset, min, max)

Source from the content-addressed store, hash-verified

694}
695
696function writeU_Int32LE(buf, value, offset, min, max) {
697 value = +value;
698 checkInt(value, min, max, buf, offset, 3);
699
700 buf[offset++] = value;
701 value = value >>> 8;
702 buf[offset++] = value;
703 value = value >>> 8;
704 buf[offset++] = value;
705 value = value >>> 8;
706 buf[offset++] = value;
707 return offset;
708}
709
710function writeUInt32LE(value, offset = 0) {
711 return writeU_Int32LE(this, value, offset, 0, 0xffffffff);

Callers 4

writeUIntLEFunction · 0.85
writeUInt32LEFunction · 0.85
writeIntLEFunction · 0.85
writeInt32LEFunction · 0.85

Calls 1

checkIntFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…