From c573d66c35e44d1fcfd22b71ab4b8a5fc6fdd8c3 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 27 Oct 2020 11:49:13 -1000 Subject: [PATCH] standard --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 896dbca..f5a66e7 100644 --- a/index.js +++ b/index.js @@ -1156,14 +1156,14 @@ Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) return val } -Buffer.prototype.readUint8 = +Buffer.prototype.readUint8 = Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 1, this.length) return this[offset] } -Buffer.prototype.readUint16LE = +Buffer.prototype.readUint16LE = Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 2, this.length) -- 2.34.1