Merge pull request #26469 from krojew/master

Updated flatbuffers to 1.9
This commit is contained in:
Nathan Shively-Sanders
2018-06-19 15:10:44 -07:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
// Type definitions for flatbuffers 1.6
// Type definitions for flatbuffers 1.9
// Project: http://google.github.io/flatbuffers/index.html
// Definitions by: Kamil Rojewski <kamil.rojewski@gmail.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -10,7 +10,7 @@ declare global {
type Offset = number;
interface Table {
bb: ByteBuffer;
bb: ByteBuffer|null;
bb_pos: number;
}
@@ -241,6 +241,8 @@ declare global {
writeFloat32(offset: number, value: number): void;
writeFloat64(offset: number, value: number): void;
getBufferIdentifier(): string;
/**
* Look up a field in the vtable, return an offset into the object, or 0 if the
* field is not present.