|
FlatBuffers
An open source project by FPL.
|
Variables | |
| flatbuffers Builder prototype | addFloat32 |
Add a float32 to the buffer, properly aligned, and grows the buffer (if necessary). More... | |
| flatbuffers Builder prototype | addFloat64 |
Add a float64 to the buffer, properly aligned, and grows the buffer (if necessary). More... | |
| flatbuffers Builder prototype | addInt16 |
Add an int16 to the buffer, properly aligned, and grows the buffer (if necessary). More... | |
| flatbuffers Builder prototype | addInt32 |
Add an int32 to the buffer, properly aligned, and grows the buffer (if necessary). More... | |
| flatbuffers Builder prototype | addInt64 |
Add an int64 to the buffer, properly aligned, and grows the buffer (if necessary). More... | |
| flatbuffers Builder prototype | addInt8 |
Add an int8 to the buffer, properly aligned, and grows the buffer (if necessary). More... | |
| flatbuffers Builder prototype | addOffset |
| Adds on offset, relative to where it will be written. More... | |
| flatbuffers Builder prototype | asUint8Array |
| Get the bytes representing the FlatBuffer. More... | |
| flatbuffers | Builder |
| Create a FlatBufferBuilder. More... | |
| flatbuffers Builder prototype | createLong |
| A helper function to avoid generated code depending on this file directly. More... | |
| flatbuffers Builder prototype | createString |
Encode the string s in the buffer using UTF-8. More... | |
| flatbuffers Builder prototype | dataBuffer |
| Get the ByteBuffer representing the FlatBuffer. More... | |
| flatbuffers Builder prototype | finish |
Finalize a buffer, poiting to the given root_table. More... | |
| flatbuffers Builder prototype | forceDefaults |
| In order to save space, fields that are set to their default value don't get serialized into the buffer. More... | |
| flatbuffers Builder prototype addFloat32 |
Add a float32 to the buffer, properly aligned, and grows the buffer (if necessary).
| {number} | value The float32 to add the the buffer. |
| flatbuffers Builder prototype addFloat64 |
Add a float64 to the buffer, properly aligned, and grows the buffer (if necessary).
| {number} | value The float64 to add the the buffer. |
| flatbuffers Builder prototype addInt16 |
Add an int16 to the buffer, properly aligned, and grows the buffer (if necessary).
| {number} | value The int16 to add the the buffer. |
| flatbuffers Builder prototype addInt32 |
Add an int32 to the buffer, properly aligned, and grows the buffer (if necessary).
| {number} | value The int32 to add the the buffer. |
| flatbuffers Builder prototype addInt64 |
Add an int64 to the buffer, properly aligned, and grows the buffer (if necessary).
| {flatbuffers.Long} | value The int64 to add the the buffer. |
| flatbuffers Builder prototype addInt8 |
Add an int8 to the buffer, properly aligned, and grows the buffer (if necessary).
| {number} | value The int8 to add the the buffer. |
| flatbuffers Builder prototype addOffset |
Adds on offset, relative to where it will be written.
| {flatbuffers.Offset} | offset The offset to add. |
| flatbuffers Builder prototype asUint8Array |
Get the bytes representing the FlatBuffer.
Only call this after you've called finish().
| flatbuffers Builder |
Create a FlatBufferBuilder.
| {number=} | opt_initial_size |
| flatbuffers Builder prototype createLong |
A helper function to avoid generated code depending on this file directly.
| {number} | low |
| {number} | high |
| flatbuffers Builder prototype createString |
Encode the string s in the buffer using UTF-8.
If a Uint8Array is passed instead of a string, it is assumed to contain valid UTF-8 encoded data.
| {string|Uint8Array} | s The string to encode |
| flatbuffers Builder prototype dataBuffer |
Get the ByteBuffer representing the FlatBuffer.
Only call this after you've called finish(). The actual data starts at the ByteBuffer's current position, not necessarily at 0.
| flatbuffers Builder prototype finish |
Finalize a buffer, poiting to the given root_table.
| {flatbuffers.Offset} | root_table |
| {string=} | opt_file_identifier |
| flatbuffers Builder prototype forceDefaults |
In order to save space, fields that are set to their default value don't get serialized into the buffer.
Forcing defaults provides a way to manually disable this optimization.
| {boolean} | forceDefaults true always serializes default values |