mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-22 13:28:51 +00:00
Add low-level fuzzer, fix 64-bit issue it found
This commit is contained in:
@@ -864,8 +864,8 @@ flatbuffers.ByteBuffer.prototype.writeInt32 = function(offset, value) {
|
||||
* @param {flatbuffers.Long} value
|
||||
*/
|
||||
flatbuffers.ByteBuffer.prototype.writeInt64 = function(offset, value) {
|
||||
this.view_.setInt32(offset, value.low);
|
||||
this.view_.setInt32(offset + 4, value.high);
|
||||
this.writeInt32(offset, value.low);
|
||||
this.writeInt32(offset + 4, value.high);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user