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

Function writeU_Int16LE

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

Source from the content-addressed store, hash-verified

724}
725
726function writeU_Int16LE(buf, value, offset, min, max) {
727 value = +value;
728 checkInt(value, min, max, buf, offset, 1);
729
730 buf[offset++] = value;
731 buf[offset++] = (value >>> 8);
732 return offset;
733}
734
735function writeUInt16LE(value, offset = 0) {
736 return writeU_Int16LE(this, value, offset, 0, 0xffff);

Callers 4

writeUIntLEFunction · 0.85
writeUInt16LEFunction · 0.85
writeIntLEFunction · 0.85
writeInt16LEFunction · 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…