mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 00:15:24 +00:00
ref[js]: deserialization Long class to numbe of long
This commit is contained in:
1 parent
1ac05c5aea
commit
f7ad0e093f
2 files changed
+2
-2
No files matched your search
@@ -326,7 +326,7 @@ const ByteBuffer = function() {
|
||||
}
|
||||
}
|
||||
}
|
||||
return readInt64(new Uint8Array(buffer.slice(0, count)));
|
||||
return readInt64(new Uint8Array(buffer.slice(0, count))).toNumber();
|
||||
};
|
||||
|
||||
this.writeFloat = function(value) {
|
||||
|
||||
@@ -322,7 +322,7 @@ const ByteBuffer = function() {
|
||||
}
|
||||
}
|
||||
}
|
||||
return readInt64(new Uint8Array(buffer.slice(0, count)));
|
||||
return readInt64(new Uint8Array(buffer.slice(0, count))).toNumber();
|
||||
};
|
||||
|
||||
this.writeFloat = function(value) {
|
||||
|
||||
Reference in new issue
Block a user