ref[js]: deserialization Long class to numbe of long

This commit is contained in:
godotg
2024-04-23 11:49:35 +08:00
parent 1ac05c5aea
commit f7ad0e093f
2 changed files with 2 additions and 2 deletions
@@ -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) {