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

Function addBufferPrototypeMethods

lib/internal/buffer.js:992–1073  ·  view source on GitHub ↗
(proto)

Source from the content-addressed store, hash-verified

990}
991
992function addBufferPrototypeMethods(proto) {
993 proto.readBigUInt64LE = readBigUInt64LE;
994 proto.readBigUInt64BE = readBigUInt64BE;
995 proto.readBigUint64LE = readBigUInt64LE;
996 proto.readBigUint64BE = readBigUInt64BE;
997 proto.readBigInt64LE = readBigInt64LE;
998 proto.readBigInt64BE = readBigInt64BE;
999 proto.writeBigUInt64LE = writeBigUInt64LE;
1000 proto.writeBigUInt64BE = writeBigUInt64BE;
1001 proto.writeBigUint64LE = writeBigUInt64LE;
1002 proto.writeBigUint64BE = writeBigUInt64BE;
1003 proto.writeBigInt64LE = writeBigInt64LE;
1004 proto.writeBigInt64BE = writeBigInt64BE;
1005
1006 proto.readUIntLE = readUIntLE;
1007 proto.readUInt32LE = function(offset) { return readUInt32LE(this, offset); };
1008 proto.readUInt16LE = function(offset) { return readUInt16LE(this, offset); };
1009 proto.readUInt8 = function(offset) { return readUInt8(this, offset); };
1010 proto.readUIntBE = readUIntBE;
1011 proto.readUInt32BE = function(offset) { return readUInt32BE(this, offset); };
1012 proto.readUInt16BE = function(offset) { return readUInt16BE(this, offset); };
1013 proto.readUintLE = readUIntLE;
1014 proto.readUint32LE = proto.readUInt32LE;
1015 proto.readUint16LE = proto.readUInt16LE;
1016 proto.readUint8 = proto.readUInt8;
1017 proto.readUintBE = readUIntBE;
1018 proto.readUint32BE = proto.readUInt32BE;
1019 proto.readUint16BE = proto.readUInt16BE;
1020 proto.readIntLE = readIntLE;
1021 proto.readInt32LE = function(offset) { return readInt32LE(this, offset); };
1022 proto.readInt16LE = function(offset) { return readInt16LE(this, offset); };
1023 proto.readInt8 = function(offset) { return readInt8(this, offset); };
1024 proto.readIntBE = readIntBE;
1025 proto.readInt32BE = function(offset) { return readInt32BE(this, offset); };
1026 proto.readInt16BE = function(offset) { return readInt16BE(this, offset); };
1027
1028 proto.writeUIntLE = writeUIntLE;
1029 proto.writeUInt32LE = writeUInt32LE;
1030 proto.writeUInt16LE = writeUInt16LE;
1031 proto.writeUInt8 = writeUInt8;
1032 proto.writeUIntBE = writeUIntBE;
1033 proto.writeUInt32BE = writeUInt32BE;
1034 proto.writeUInt16BE = writeUInt16BE;
1035 proto.writeUintLE = writeUIntLE;
1036 proto.writeUint32LE = writeUInt32LE;
1037 proto.writeUint16LE = writeUInt16LE;
1038 proto.writeUint8 = writeUInt8;
1039 proto.writeUintBE = writeUIntBE;
1040 proto.writeUint32BE = writeUInt32BE;
1041 proto.writeUint16BE = writeUInt16BE;
1042 proto.writeIntLE = writeIntLE;
1043 proto.writeInt32LE = writeInt32LE;
1044 proto.writeInt16LE = writeInt16LE;
1045 proto.writeInt8 = writeInt8;
1046 proto.writeIntBE = writeIntBE;
1047 proto.writeInt32BE = writeInt32BE;
1048 proto.writeInt16BE = writeInt16BE;
1049

Callers 1

buffer.jsFile · 0.85

Calls 13

readUInt32LEFunction · 0.85
readUInt16LEFunction · 0.85
readUInt8Function · 0.85
readUInt32BEFunction · 0.85
readUInt16BEFunction · 0.85
readInt32LEFunction · 0.85
readInt16LEFunction · 0.85
readInt8Function · 0.85
readInt32BEFunction · 0.85
readInt16BEFunction · 0.85
asciiWriteFunction · 0.85
latin1WriteFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…