Home
last modified time | relevance | path

Searched refs:FlatBuffer (Results 1 – 25 of 32) sorted by relevance

12

/third_party/flatbuffers/go/
Dlib.go4 type FlatBuffer interface { interface
10 func GetRootAs(buf []byte, offset UOffsetT, fb FlatBuffer) { argument
17 func GetSizePrefixedRootAs(buf []byte, offset UOffsetT, fb FlatBuffer) { argument
/third_party/flatbuffers/samples/
Dsample_binary.lobster59 // We now have a FlatBuffer that we could store on disk or send over a network.
82 // Get and test the `inventory` FlatBuffer vector.
86 // Get and test the `weapons` FlatBuffer vector of tables.
91 // Get and test the `equipped` FlatBuffer union.
100 print "The FlatBuffer was successfully created and verified!"
Dsample_text.lobster20 // Test loading some JSON, converting it to a binary FlatBuffer and back again.
/third_party/flatbuffers/dart/example/
Dexample.dart81 "The FlatBuffer was successfully created with a builder and verified!");
104 // We now have a FlatBuffer we can store on disk or send over a network.
111 "The FlatBuffer was successfully created with an object builder and verified!");
119 // Get and test some scalar types from the FlatBuffer.
124 // Get and test a field of the FlatBuffer's `struct`.
129 // Get a test an element from the `inventory` FlatBuffer's `vector`.
/third_party/flatbuffers/docs/source/
DJavaUsage.md49 or write a FlatBuffer.
51 For example, here is how you would read a FlatBuffer binary file in Java:
52 First, import the library and generated code. Then, you read a FlatBuffer binary
78 ## Storing dictionaries in a FlatBuffer
82 can have fast lookups directly from a FlatBuffer without having to unpack
97 - Now when you're accessing the FlatBuffer, you can use
DPHPUsage.md43 the generated code to read or write a FlatBuffer.
45 For example, here is how you would read a FlatBuffer binary file in PHP:
47 function). Then you can read a FlatBuffer binary file, which you
69 // Read the contents of the FlatBuffer binary file.
DLobsterUsage.md44 FlatBuffers and the generated code to read or write a FlatBuffer.
46 For example, here is how you would read a FlatBuffer binary file in Lobster:
47 First, import the library and the generated code. Then read a FlatBuffer binary
65 As you can see, even though `hp` and `pos` are functions that access FlatBuffer
DGoUsage.md44 and the generated code to read or write a FlatBuffer.
46 For example, here is how you would read a FlatBuffer binary file in Go: First,
47 include the library and generated code. Then read a FlatBuffer binary file into
71 In some cases it's necessary to modify values in an existing FlatBuffer in place (without creating …
DCsharpUsage.md76 or write a FlatBuffer.
78 For example, here is how you would read a FlatBuffer binary file in C#:
79 First, import the library and generated code. Then, you read a FlatBuffer binary
116 ## Storing dictionaries in a FlatBuffer
120 can have fast lookups directly from a FlatBuffer without having to unpack
135 - Now when you're accessing the FlatBuffer, you can use
160 FlatBuffer into objects and standard `System.Collections.Generic` containers,
DLuaUsage.md44 FlatBuffers and the generated code to read or write a FlatBuffer.
46 For example, here is how you would read a FlatBuffer binary file in Lua:
47 First, require the module and the generated code. Then read a FlatBuffer binary
DTypeScriptUsage.md38 and the generated code to read or write a FlatBuffer.
40 For example, here is how you would read a FlatBuffer binary file in TypeScript:
71 FlatBuffer into objects and standard TS types.
DKotlinUsage.md46 or write a FlatBuffer.
48 For example, here is how you would read a FlatBuffer binary file in Kotlin:
49 First, import the library and generated code. Then, you read a FlatBuffer binary
DDartUsage.md44 and the generated code to read or write a FlatBuffer.
46 For example, here is how you would read a FlatBuffer binary file in Dart: First,
47 include the library and generated code. Then read a FlatBuffer binary file into
83 3. The SDK implementation does not appear to support FlatBuffer structs or
DPythonUsage.md45 FlatBuffers and the generated code to read or write a FlatBuffer.
47 For example, here is how you would read a FlatBuffer binary file in Python:
48 First, import the library and the generated code. Then read a FlatBuffer binary
DSwiftUsage.md46 For example, here is how you would read a FlatBuffer binary file in Swift: First,
47 include the library and copy thegenerated code. Then read a FlatBuffer binary file or
72 In some cases it's necessary to modify values in an existing FlatBuffer in place (without creating …
DWhitePaper.md41 A FlatBuffer is a binary buffer containing nested objects (structs,
60 But a FlatBuffer isn't parsed before it is accessed.
67 FlatBuffer was written with an older version of the software, of simply
95 FlatBuffer schemas are fairly similar to those of the incumbent,
DTutorial.md10 - Write a FlatBuffer `schema` file.
11 - Use the `flatc` FlatBuffer compiler.
13 FlatBuffer binary files.
161 ## Writing the Monsters' FlatBuffer Schema
228 The `Monster` table is the main object in our FlatBuffer. This will be used as
239 The `Weapon` table is a sub-table used within our FlatBuffer. It is
273 FlatBuffer compiler.
803 // `CreateWeaponsVector()` method to create a FlatBuffer vector.
1149 and `Axe`). These are both FlatBuffer `table`s, whose offsets we now store in
1150 memory. Therefore we can create a FlatBuffer `vector` to contain these
[all …]
DCppUsage.md55 For example, here is how you would read a FlatBuffer binary file in C++:
107 FlatBuffer into objects and standard STL containers, allowing for convenient
130 - `native_inline` (on a field): Because FlatBuffer tables and structs are
311 The way this works is very elegant; there is actually a FlatBuffer schema that
314 FlatBuffer, corresponding to this meta-schema.
317 FlatBuffer data that corresponds to it without knowing the exact format. You
338 You can now use this information, for example to print a FlatBuffer to text:
351 ## Storing maps / dictionaries in a FlatBuffer
355 can have fast lookups directly from a FlatBuffer without having to unpack
368 - Now when you're accessing the FlatBuffer, you can use `Vector::LookupByKey`
[all …]
DRustUsage.md59 For example, here is how you would read a FlatBuffer binary file in Rust:
156 Reading a FlatBuffer does not touch any memory outside the original buffer,
160 Creating a FlatBuffer is not thread safe. All state related to building
161 a FlatBuffer is contained in a FlatBufferBuilder instance, and no memory
DSchemas.md50 fields without fear of bloating your data. This design is also FlatBuffer's
206 Unions are a good way to be able to send multiple message types as a FlatBuffer.
208 part of a table, it cannot be the root of a FlatBuffer by itself.
248 Typically, a FlatBuffer binary buffer is not self-describing, i.e. it
250 want to use a FlatBuffer as a file format, it would be convenient
255 Now, you can always prefix a FlatBuffer with your own file header,
257 FlatBuffer that takes up minimal space, and keeps the buffer
261 for this type of FlatBuffer to be used as a file format:
290 that take a FlatBuffer as an argument (the request) and return a FlatBuffer
369 a convenient accessor for the nested FlatBuffer.
[all …]
DSupport.md11 FlatBuffer authors typically depends on community contributions.
DFlexBuffers.md50 as `fbb.GetBuffer()`. Write it, send it, or store it in a parent FlatBuffer. In
169 # Nesting inside a FlatBuffer
/third_party/flatbuffers/.github/
DISSUE_TEMPLATE.md7 - Crash when accessing FlatBuffer [C++, gcc 4.8, OS X, master]
/third_party/flatbuffers/dart/
DREADME.md3 This package is used to read and write FlatBuffer files in Dart.
/third_party/flatbuffers/grpc/
DREADME.md31 ## Running FlatBuffer gRPC tests

12