Comparing version 0.0.1 to 0.0.2
@@ -46,3 +46,3 @@ | ||
if (!noAssert) | ||
checkInt(this, value, offset, 3, 0xffffffff, 0); | ||
checkInt(this, value, offset, 3, 0xffffff, 0); | ||
this[offset] = value; | ||
@@ -58,3 +58,3 @@ this[offset + 1] = (value >>> 8); | ||
if (!noAssert) | ||
checkInt(this, value, offset, 3, 0xffffffff, 0); | ||
checkInt(this, value, offset, 3, 0xffffff, 0); | ||
this[offset] = (value >>> 16); | ||
@@ -70,3 +70,3 @@ this[offset + 1] = (value >>> 8); | ||
if (!noAssert) | ||
checkInt(this, value, offset, 3, 0x7fffffff, -0x80000000); | ||
checkInt(this, value, offset, 3, 0x7fffff, -0x800000); | ||
this[offset] = value; | ||
@@ -82,3 +82,3 @@ this[offset + 1] = (value >>> 8); | ||
if (!noAssert) | ||
checkInt(this, value, offset, 3, 0x7fffffff, -0x80000000); | ||
checkInt(this, value, offset, 3, 0x7fffff, -0x800000); | ||
this[offset] = (value >>> 16); | ||
@@ -85,0 +85,0 @@ this[offset + 1] = (value >>> 8); |
{ | ||
"name": "buffer24", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "node buffer extension: support 24bit operators", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6515