smart-buffer
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -138,3 +138,3 @@ "use strict"; | ||
readInt8() { | ||
return this.readNumberValue(Buffer.prototype.readUInt8, 1); | ||
return this.readNumberValue(Buffer.prototype.readInt8, 1); | ||
} | ||
@@ -147,3 +147,3 @@ /** | ||
readInt16BE() { | ||
return this.readNumberValue(Buffer.prototype.readUInt16BE, 2); | ||
return this.readNumberValue(Buffer.prototype.readInt16BE, 2); | ||
} | ||
@@ -156,3 +156,3 @@ /** | ||
readInt16LE() { | ||
return this.readNumberValue(Buffer.prototype.readUInt16LE, 2); | ||
return this.readNumberValue(Buffer.prototype.readInt16LE, 2); | ||
} | ||
@@ -165,3 +165,3 @@ /** | ||
readInt32BE() { | ||
return this.readNumberValue(Buffer.prototype.readUInt32BE, 4); | ||
return this.readNumberValue(Buffer.prototype.readInt32BE, 4); | ||
} | ||
@@ -174,3 +174,3 @@ /** | ||
readInt32LE() { | ||
return this.readNumberValue(Buffer.prototype.readUInt32LE, 4); | ||
return this.readNumberValue(Buffer.prototype.readInt32LE, 4); | ||
} | ||
@@ -177,0 +177,0 @@ /** |
{ | ||
"name": "smart-buffer", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A smarter Buffer that keeps track of its own read and write positions while growing endlessly.", | ||
@@ -5,0 +5,0 @@ "main": "build/smartbuffer.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90617