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

Function writeU_Int24BE

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

Source from the content-addressed store, hash-verified

822}
823
824function writeU_Int24BE(buf, value, offset, min, max) {
825 value = +value;
826 checkInt(value, min, max, buf, offset, 2);
827
828 buf[offset + 2] = value;
829 value = value >>> 8;
830 buf[offset + 1] = value;
831 value = value >>> 8;
832 buf[offset] = value;
833 return offset + 3;
834}
835
836function writeU_Int16BE(buf, value, offset, min, max) {
837 value = +value;

Callers 2

writeUIntBEFunction · 0.85
writeIntBEFunction · 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…