Searched refs:FlatBuffer (Results 1 – 25 of 32) sorted by relevance
12
4 type FlatBuffer interface { interface10 func GetRootAs(buf []byte, offset UOffsetT, fb FlatBuffer) { argument17 func GetSizePrefixedRootAs(buf []byte, offset UOffsetT, fb FlatBuffer) { argument
59 // 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!"
20 // Test loading some JSON, converting it to a binary FlatBuffer and back again.
81 "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`.
49 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 binary78 ## Storing dictionaries in a FlatBuffer82 can have fast lookups directly from a FlatBuffer without having to unpack97 - Now when you're accessing the FlatBuffer, you can use
43 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 you69 // Read the contents of the FlatBuffer binary file.
44 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 binary65 As you can see, even though `hp` and `pos` are functions that access FlatBuffer
44 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 into71 In some cases it's necessary to modify values in an existing FlatBuffer in place (without creating …
76 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 binary116 ## Storing dictionaries in a FlatBuffer120 can have fast lookups directly from a FlatBuffer without having to unpack135 - Now when you're accessing the FlatBuffer, you can use160 FlatBuffer into objects and standard `System.Collections.Generic` containers,
44 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
38 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.
46 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
44 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 into83 3. The SDK implementation does not appear to support FlatBuffer structs or
45 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
46 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 or72 In some cases it's necessary to modify values in an existing FlatBuffer in place (without creating …
41 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 simply95 FlatBuffer schemas are fairly similar to those of the incumbent,
10 - Write a FlatBuffer `schema` file.11 - Use the `flatc` FlatBuffer compiler.13 FlatBuffer binary files.161 ## Writing the Monsters' FlatBuffer Schema228 The `Monster` table is the main object in our FlatBuffer. This will be used as239 The `Weapon` table is a sub-table used within our FlatBuffer. It is273 FlatBuffer compiler.803 // `CreateWeaponsVector()` method to create a FlatBuffer vector.1149 and `Axe`). These are both FlatBuffer `table`s, whose offsets we now store in1150 memory. Therefore we can create a FlatBuffer `vector` to contain these[all …]
55 For example, here is how you would read a FlatBuffer binary file in C++:107 FlatBuffer into objects and standard STL containers, allowing for convenient130 - `native_inline` (on a field): Because FlatBuffer tables and structs are311 The way this works is very elegant; there is actually a FlatBuffer schema that314 FlatBuffer, corresponding to this meta-schema.317 FlatBuffer data that corresponds to it without knowing the exact format. You338 You can now use this information, for example to print a FlatBuffer to text:351 ## Storing maps / dictionaries in a FlatBuffer355 can have fast lookups directly from a FlatBuffer without having to unpack368 - Now when you're accessing the FlatBuffer, you can use `Vector::LookupByKey`[all …]
59 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 building161 a FlatBuffer is contained in a FlatBufferBuilder instance, and no memory
50 fields without fear of bloating your data. This design is also FlatBuffer's206 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. it250 want to use a FlatBuffer as a file format, it would be convenient255 Now, you can always prefix a FlatBuffer with your own file header,257 FlatBuffer that takes up minimal space, and keeps the buffer261 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 FlatBuffer369 a convenient accessor for the nested FlatBuffer.[all …]
11 FlatBuffer authors typically depends on community contributions.
50 as `fbb.GetBuffer()`. Write it, send it, or store it in a parent FlatBuffer. In169 # Nesting inside a FlatBuffer
7 - Crash when accessing FlatBuffer [C++, gcc 4.8, OS X, master]
3 This package is used to read and write FlatBuffer files in Dart.
31 ## Running FlatBuffer gRPC tests