binutils64 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binutils.js +2 -2
- package/package.json +2 -2
package/binutils.js
CHANGED
|
@@ -60,7 +60,7 @@ BinaryReader.prototype = {
|
|
|
60
60
|
return 0;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
var s_Val = (this.Endianness == 'little') ? this.ByteBuffer.
|
|
63
|
+
var s_Val = (this.Endianness == 'little') ? this.ByteBuffer.readBigUInt64LE(0) : this.ByteBuffer.readBigUInt64BE(0);
|
|
64
64
|
this.ByteBuffer = this.ByteBuffer.slice(8);
|
|
65
65
|
this.Position += 8;
|
|
66
66
|
return s_Val;
|
|
@@ -104,7 +104,7 @@ BinaryReader.prototype = {
|
|
|
104
104
|
return 0;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
var s_Val = (this.Endianness == 'little') ? this.ByteBuffer.
|
|
107
|
+
var s_Val = (this.Endianness == 'little') ? this.ByteBuffer.readBigInt64LE(0) : this.ByteBuffer.readBigInt64BE(0);
|
|
108
108
|
this.ByteBuffer = this.ByteBuffer.slice(8);
|
|
109
109
|
this.Position += 8;
|
|
110
110
|
return s_Val;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "binutils64",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"author": "Mihail Shumilov <mschumilow@gmail.com>",
|
|
5
5
|
"description": "A .NET-like BinaryReader and BinaryWriter with endianness support.",
|
|
6
6
|
"main": "./binutils.js",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=0.
|
|
8
|
+
"node": ">=0.12"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type" : "git",
|