MCPcopy Create free account

hub / github.com/google/flatbuffers / functions

Functions21,844 in github.com/google/flatbuffers

↓ 1,874 callersMethod__offset
* Look up a field in the vtable, return an offset into the object, or 0 if the * field is not present.
ts/byte-buffer.ts:193
↓ 733 callersMethodGet
Get retrieves a value of the type specified by `flags` at the given offset.
python/flatbuffers/table.py:95
↓ 680 callersMethodPrint
src/idl_gen_grpc.cpp:157
↓ 668 callersMethodposition
* Get the buffer's position.
ts/byte-buffer.ts:36
↓ 653 callersMethodget
Read a byte from data. @param index position of the element in ReadBuf @return a byte
java/src/main/java/com/google/flatbuffers/ReadBuf.java:20
↓ 613 callersMethodc_str
include/flatbuffers/string.h:26
↓ 584 callersMethodOffset
Offset provides access into the Table's vtable. Fields which are deprecated are ignored by checking against the vtable's length.
go/table.go:14
↓ 512 callersMethodSetValue
Associates a key with a value. All subsequent calls to operator+=, where the specified key is contained in {{ and }} delimiters will be replaced by t
include/flatbuffers/code_generators.h:54
↓ 500 callersMethodsize
tests/64bit/test_64bit_bfbs_generated.h:82
↓ 487 callersFunctionswap
include/flatbuffers/stl_emulation.h:224
↓ 461 callersMethodstartVector
* Start a new array/vector of objects. Users usually will not call * this directly. The FlatBuffers compiler will create a start/end * method f
ts/builder.ts:526
↓ 444 callersFunctionNumToString
include/flatbuffers/util.h:131
↓ 428 callersMethodend
Returns an index set to the end. Note: Indexing this will result in an out of bounds error.
rust/flatbuffers/src/builder.rs:842
↓ 422 callersMethodbegin
include/flatbuffers/array.h:65
↓ 352 callersMethod__vector
* Get the start of data of a vector whose offset is stored at "offset" in this object.
ts/byte-buffer.ts:253
↓ 313 callersMethodunpack
()
ts/types.ts:16
↓ 312 callersMethodreadInt32
(offset: number)
ts/byte-buffer.ts:70
↓ 291 callersMethodAddOffset
<summary> Adds an offset, relative to where it will be written. </summary> <param name="off">The offset to add to the buffer.</param>
net/FlatBuffers/FlatBufferBuilder.cs:435
↓ 290 callersMethodaddFieldOffset
(voffset: number, value: Offset, defaultValue: Offset)
ts/builder.ts:278
↓ 280 callersMethodsize
include/flatbuffers/array.h:48
↓ 271 callersMethodStartVector
StartVector initializes bookkeeping for writing a new vector. A vector has the following format: <UOffsetT: number of elements in this vector> <T:
go/builder.go:305
↓ 268 callersMethodEndVector
EndVector writes data necessary to finish vector construction.
go/builder.go:314
↓ 268 callersMethod__vector_len
* Get the length of a vector whose offset is stored at "offset" in this object.
ts/byte-buffer.ts:260
↓ 266 callersMethodempty
Returns true if the vector is empty. This just provides another standardized method that is expected of vectors.
include/flatbuffers/vector.h:183
↓ 258 callersMethodsize
tests/monster_test_bfbs_generated.h:745
↓ 236 callersMethodVectorType
include/flatbuffers/idl.h:209
↓ 229 callersFunctionassert
A helper function to print out if an assertion failed.
samples/sample_binary.go:160
↓ 228 callersMethodendVector
* Finish off the creation of an array and all its elements. The array must be * created with `startVector`. * * @returns The offset at which
ts/builder.ts:540
↓ 226 callersFunctionVerifyOffset
include/flatbuffers/verifier.h:265
↓ 222 callersMethodstrictEqual
($result, $expected, $message = "")
tests/phpTest.php:615
↓ 218 callersMethodgetInt
Read a 32-bit int from data. @param index position of the element in ReadBuf @return an int
java/src/main/java/com/google/flatbuffers/ReadBuf.java:36
↓ 215 callersMethodCreateString
CreateString writes a null-terminated string as a vector.
go/builder.go:358
↓ 213 callersMethodtoByte
* Returns element as [Byte]. For vector types, it will return size of the vector. For String * type, it will be parsed as integer. Unsigned element
kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/FlexBuffers.kt:191
↓ 208 callersMethodAreEqual
(Monster a, MonsterT b)
tests/FlatBuffers.Test/FlatBuffersExampleTests.cs:530
↓ 206 callersMethodEndTable
()
net/FlatBuffers/FlatBufferBuilder.cs:805
↓ 202 callersMethodpack
(builder: Builder)
ts/types.ts:12
↓ 198 callersMethodcreateScalarList
* A helper function for generating list for obj api
ts/byte-buffer.ts:283
↓ 195 callersFunctionError
src/flatc_main.cpp:54
↓ 184 callersFunctionIsScalar
include/flatbuffers/idl.h:134
↓ 182 callersFunctionEndianScalar
include/flatbuffers/base.h:416
↓ 176 callersMethodpush
(&'a self, _dst: &'a mut [u8], _written_len: usize)
tests/rust_usage_test/tests/integration_test.rs:2045
↓ 174 callersMethod__indirect
* Retrieve the relative offset stored at "offset"
ts/byte-buffer.ts:246
↓ 170 callersMethodcreateObjList
* A helper function for generating list for obj api * @param listAccessor function that accepts an index and return data at that index * @param
ts/byte-buffer.ts:303
↓ 157 callersMethodput
Put an array of bytes into the buffer at {@code writePosition()}. Write position will be incremented. @param value the data to be copied @param start
java/src/main/java/com/google/flatbuffers/ReadWriteBuf.java:30
↓ 155 callersMethod__offset
Look up a field in the vtable. @param vtable_offset An `int` offset to the vtable in the Table's ByteBuffer. @return Returns an offset into the objec
java/src/main/java/com/google/flatbuffers/Table.java:57
↓ 151 callersMethodStartTable
(int numfields)
net/FlatBuffers/FlatBufferBuilder.cs:497
↓ 150 callersMethodLookup
include/flatbuffers/idl.h:510
↓ 150 callersFunctioncheck
(b: &'a flatbuffers::FlatBufferBuilder, want: &'a [u8])
tests/rust_usage_test/tests/integration_test.rs:2351
↓ 149 callersMethodGetBufferPointer
@brief Get the serialized buffer (after you call `Finish()`). @return Returns an `uint8_t` pointer to the FlatBuffer data inside the buffer.
include/flatbuffers/flatbuffer_builder.h:209
↓ 149 callersMethodVerifyField
include/flatbuffers/table.h:159
↓ 148 callersMethodMethod
include/codegen/namer.h:122
↓ 148 callersMethodtype
(obj)
tests/ts/reflection_generated.cjs:637
↓ 138 callersMethodStartObject
StartObject initializes bookkeeping for writing a new object.
go/builder.go:80
↓ 137 callersMethodprep
* Prepare to write an element of `size` after `additional_bytes` have been * written, e.g. if you write a string, you need to align such the int le
ts/builder.ts:107
↓ 136 callersMethodstr
include/flatbuffers/string.h:27
↓ 133 callersMethodGetSize
@brief The current size of the serialized buffer, counting from the end. @return Returns an `SizeT` with the current size of the buffer.
include/flatbuffers/flatbuffer_builder.h:181
↓ 133 callersMethodaddFieldInt8
( voffset: number, value: number, defaultValue: number | null | undefined, )
ts/builder.ts:212
↓ 132 callersMethodas_ref
(&self)
rust/flatbuffers/src/verifier.rs:33
↓ 131 callersMethodType
include/codegen/namer.h:231
↓ 129 callersMethodcreateString
* 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 da
ts/builder.ts:576
↓ 126 callersMethodFinish
Finish finalizes a buffer, pointing to the given `rootTable`.
go/builder.go:635
↓ 126 callersMethod__string
* Create a JavaScript string from UTF-8 data stored inside the FlatBuffer. * This allocates a new string and converts to wide chars upon each acces
ts/byte-buffer.ts:220
↓ 125 callersMethodaddOffset
(builder, offset)
tests/ts/reflection_generated.cjs:780
↓ 122 callersFunctionIsStruct
include/flatbuffers/idl.h:533
↓ 120 callersMethodAreEqual
(T expected, T actual)
tests/FlatBuffers.Test/Assert.cs:78
↓ 120 callersMethodPrependUOffsetTRelativeSlot
PrependUOffsetTRelativeSlot prepends an UOffsetT onto the object at vtable slot `o`. If value `x` equals default `d`, then the slot will be s
python/flatbuffers/builder.py:703
↓ 118 callersFunctionstring
* Create a Java `String` from UTF-8 data stored inside the FlatBuffer. * * This allocates a new string and converts to wide chars upon each acce
kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/Flatbuffers.kt:120
↓ 117 callersMethodreadInt8
(offset: number)
ts/byte-buffer.ts:54
↓ 117 callersMethodwriteInt32
(value: number)
ts/builder.ts:142
↓ 115 callersMethodAdd
Since we're generating schema and corresponding data in tandem, this convenience function adds strings to both at once.
tests/fuzz_test.cpp:177
↓ 113 callersMethodEndObject
EndObject writes data necessary to finish object construction.
go/builder.go:208
↓ 112 callersMethodbase_type
(&self)
rust/reflection/src/reflection_generated.rs:293
↓ 112 callersFunctionload_file_as_buffer
(path: &str)
tests/rust_reflection_test/src/lib.rs:1983
↓ 111 callersMethodsetPosition
* Set the buffer's position.
ts/byte-buffer.ts:43
↓ 110 callersMethodlength
* @return int */
php/ByteBuffer.php:88
↓ 109 callersMethoditer
(&self)
rust/flatbuffers/src/array.rs:74
↓ 105 callersMethodParse
src/idl_parser.cpp:3583
↓ 105 callersMethodbytes
* Get the underlying `Uint8Array`.
ts/byte-buffer.ts:29
↓ 105 callersFunctioncreate_test_buffer
()
tests/rust_reflection_test/src/lib.rs:1994
↓ 104 callersMethodcreateObjectOffsetList
* A helper function to pack a list of object * * @returns list of offsets of each non null/undefined object
ts/builder.ts:634
↓ 103 callersMethoddata
Expose ReadBuf as an array of bytes. This method is meant to be as efficient as possible, so for a array-backed ReadBuf, it should return its own inte
java/src/main/java/com/google/flatbuffers/ReadBuf.java:78
↓ 102 callersMethodaddFieldInt32
( voffset: number, value: number, defaultValue: number | null | undefined, )
ts/builder.ts:234
↓ 101 callersMethodOffset
(self)
python/flatbuffers/reflection/Field.py:57
↓ 101 callersMethodserialize_field
(&mut self, value: &T)
rust/flexbuffers/src/builder/ser.rs:145
↓ 100 callersMethodField
src/bfbs_namer.h:40
↓ 100 callersMethodcreate_string
(&'a mut self, s: &'b str)
rust/flatbuffers/src/builder.rs:387
↓ 99 callersMethodtoInt
* Returns element as [Int]. For vector types, it will return size of the vector. For String type, * it will type to be parsed as integer. Unsigned
kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/FlexBuffers.kt:209
↓ 98 callersMethodVector
Vector retrieves the start of data of the vector whose offset is stored at "off" in this object.
go/table.go:66
↓ 98 callersMethodputInt
Write a 32-bit into in the buffer at {@code writePosition()}. Write position will be incremented.
java/src/main/java/com/google/flatbuffers/ReadWriteBuf.java:47
↓ 97 callersMethodwriteInt8
(value: number)
ts/builder.ts:134
↓ 96 callersMethodOutdent
src/idl_gen_grpc.cpp:205
↓ 96 callersMethodPrep
Prep prepares to write an element of `size` after `additional_bytes` have been written, e.g. if you write a string, you need to align such the int len
go/builder.go:260
↓ 96 callersMethodstart_table
(&mut self)
rust/flatbuffers/src/builder.rs:289
↓ 95 callersMethodIndent
src/idl_gen_text.cpp:51
↓ 95 callersMethodVerifyTable
<summary> Verify table object using generated verification function. </summary> <param name="tablePos"> Position in the Table</param> <param name="off
net/FlatBuffers/FlatBufferVerify.cs:596
↓ 95 callersMethodstartTable
Start encoding a new object in the buffer. Users will not usually need to call this directly. The `FlatBuffers` compiler will generate helper methods
java/src/main/java/com/google/flatbuffers/FlatBufferBuilder.java:758
↓ 94 callersMethod__reset
Re-init the internal state with an external buffer {@code ByteBuffer} and an offset within. <p>This method exists primarily to allow recycling Table
java/src/main/java/com/google/flatbuffers/Table.java:304
↓ 94 callersMethodend_table
( &mut self, off: WIPOffset<TableUnfinishedWIPOffset>, )
rust/flatbuffers/src/builder.rs:302
↓ 91 callersMethodcreate_vector
( &'a mut self, items: &'b [T], )
rust/flatbuffers/src/builder.rs:412
↓ 89 callersMethodgetLong
Read a 64-bit long from data. @param index position of the element in ReadBuf @return a long
java/src/main/java/com/google/flatbuffers/ReadBuf.java:44
next →1–100 of 21,844, ranked by callers