Builder is a state machine for creating FlatBuffer objects.
Use a Builder to construct object(s) starting from leaf nodes.
A Builder constructs byte buffers in a last-first manner for simplicity and
performance. `Bytes` gives raw access to the buffer. Most users will want to use
FinishedBytes() instead. CreateByteString writes a byte slice as a string (null-terminated). CreateByteVector writes a ubyte vector CreateSharedString Checks if the string is already written
to the buffer before calling CreateString CreateString writes a null-terminated string as a vector.(*Builder) CreateVectorOfSortedTables(offsets []UOffsetT, keyCompare KeyCompare) UOffsetT CreateVectorOfTables serializes slice of table offsets into a vector. EndObject writes data necessary to finish object construction. EndVector writes data necessary to finish vector construction. Finish finalizes a buffer, pointing to the given `rootTable`. FinishSizePrefixed finalizes a buffer, pointing to the given `rootTable`.
The buffer is prefixed with the size of the buffer, excluding the size
of the prefix itself. FinishSizePrefixedWithFileIdentifier finalizes a buffer, pointing to the given `rootTable`
and applies a file identifier. The buffer is prefixed with the size of the buffer,
excluding the size of the prefix itself. FinishWithFileIdentifier finalizes a buffer, pointing to the given `rootTable`.
as well as applys a file identifier FinishedBytes returns a pointer to the written data in the byte buffer.
Panics if the builder is not in a finished state (which is caused by calling
`Finish()`). Head gives the start of useful data in the underlying byte buffer.
Note: unlike other functions, this value is interpreted as from the left. Offset relative to the end of the buffer. Pad places zeros at the current offset. PlaceBool prepends a bool to the Builder, without checking for space. PlaceByte prepends a byte to the Builder, without checking for space. PlaceFloat32 prepends a float32 to the Builder, without checking for space. PlaceFloat64 prepends a float64 to the Builder, without checking for space. PlaceInt16 prepends a int16 to the Builder, without checking for space. PlaceInt32 prepends a int32 to the Builder, without checking for space. PlaceInt64 prepends a int64 to the Builder, without checking for space. PlaceInt8 prepends a int8 to the Builder, without checking for space. PlaceSOffsetT prepends a SOffsetT to the Builder, without checking for space. PlaceUOffsetT prepends a UOffsetT to the Builder, without checking for space. PlaceUint16 prepends a uint16 to the Builder, without checking for space. PlaceUint32 prepends a uint32 to the Builder, without checking for space. PlaceUint64 prepends a uint64 to the Builder, without checking for space. PlaceUint8 prepends a uint8 to the Builder, without checking for space. PlaceVOffsetT prepends a VOffsetT to the Builder, without checking for space. 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 length field is aligned to SizeInt32, and the string data follows it
directly.
If all you need to do is align, `additionalBytes` will be 0. PrependBool prepends a bool to the Builder buffer.
Aligns and checks for space. PrependBoolSlot prepends a bool onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependByte prepends a byte to the Builder buffer.
Aligns and checks for space. PrependByteSlot prepends a byte onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependFloat32 prepends a float32 to the Builder buffer.
Aligns and checks for space. PrependFloat32Slot prepends a float32 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependFloat64 prepends a float64 to the Builder buffer.
Aligns and checks for space. PrependFloat64Slot prepends a float64 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependInt16 prepends a int16 to the Builder buffer.
Aligns and checks for space. PrependInt16Slot prepends a int16 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependInt32 prepends a int32 to the Builder buffer.
Aligns and checks for space. PrependInt32Slot prepends a int32 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependInt64 prepends a int64 to the Builder buffer.
Aligns and checks for space. PrependInt64Slot prepends a int64 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependInt8 prepends a int8 to the Builder buffer.
Aligns and checks for space. PrependInt8Slot prepends a int8 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependSOffsetT prepends an SOffsetT, relative to where it will be written. PrependStructSlot prepends a struct onto the object at vtable slot `o`.
Structs are stored inline, so nothing additional is being added.
In generated code, `d` is always 0. PrependUOffsetT prepends an UOffsetT, relative to where it will be written. PrependUOffsetTSlot prepends an UOffsetT onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependUint16 prepends a uint16 to the Builder buffer.
Aligns and checks for space. PrependUint16Slot prepends a uint16 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependUint32 prepends a uint32 to the Builder buffer.
Aligns and checks for space. PrependUint32Slot prepends a uint32 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependUint64 prepends a uint64 to the Builder buffer.
Aligns and checks for space. PrependUint64Slot prepends a uint64 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependUint8 prepends a uint8 to the Builder buffer.
Aligns and checks for space. PrependUint8Slot prepends a uint8 onto the object at vtable slot `o`.
If value `x` equals default `d`, then the slot will be set to zero and no
other data will be written. PrependVOffsetT prepends a VOffsetT to the Builder buffer.
Aligns and checks for space. Reset truncates the underlying Builder buffer, facilitating alloc-free
reuse of a Builder. It also resets bookkeeping data. Slot sets the vtable key `voffset` to the current location in the buffer. StartObject initializes bookkeeping for writing a new object. StartVector initializes bookkeeping for writing a new vector.
A vector has the following format:
<UOffsetT: number of elements in this vector>
<T: data>+, where T is the type of elements of this vector. WriteVtable serializes the vtable for the current object, if applicable.
Before writing out the vtable, this checks pre-existing vtables for equality
to this one. If an equal vtable is found, point the object to the existing
vtable and return.
Because vtable values are sensitive to alignment of object data, not all
logically-equal vtables will be deduplicated.
A vtable has the following format:
<VOffsetT: size of the vtable in bytes, including this value>
<VOffsetT: size of the object in bytes, including the vtable offset>
<VOffsetT: offset for a field> * N, where N is the number of fields in
the schema for this type. Includes deprecated fields.
Thus, a vtable is made of 2 + N elements, each SizeVOffsetT bytes wide.
An object has the following format:
<SOffsetT: offset to this object's vtable (may be negative)>
<byte: data>+
func NewBuilder(initialSize int) *Builder
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BinaryEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BinaryStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BinaryViewEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BinaryViewStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BodyCompressionAddCodec(builder *Builder, codec flatbuf.CompressionType)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BodyCompressionAddMethod(builder *Builder, method flatbuf.BodyCompressionMethod)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BodyCompressionEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BodyCompressionStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BoolEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.BoolStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.CreateBlock(builder *Builder, offset int64, metaDataLength int32, bodyLength int64) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.CreateBuffer(builder *Builder, offset int64, length int64) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.CreateFieldNode(builder *Builder, length int64, nullCount int64) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DateAddUnit(builder *Builder, unit flatbuf.DateUnit)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DateEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DateStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DecimalAddBitWidth(builder *Builder, bitWidth int32)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DecimalAddPrecision(builder *Builder, precision int32)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DecimalAddScale(builder *Builder, scale int32)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DecimalEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DecimalStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryBatchAddData(builder *Builder, data UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryBatchAddId(builder *Builder, id int64)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryBatchAddIsDelta(builder *Builder, isDelta bool)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryBatchEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryBatchStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryEncodingAddDictionaryKind(builder *Builder, dictionaryKind flatbuf.DictionaryKind)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryEncodingAddId(builder *Builder, id int64)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryEncodingAddIndexType(builder *Builder, indexType UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryEncodingAddIsOrdered(builder *Builder, isOrdered bool)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryEncodingEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DictionaryEncodingStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DurationAddUnit(builder *Builder, unit flatbuf.TimeUnit)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DurationEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.DurationStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldAddChildren(builder *Builder, children UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldAddCustomMetadata(builder *Builder, customMetadata UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldAddDictionary(builder *Builder, dictionary UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldAddName(builder *Builder, name UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldAddNullable(builder *Builder, nullable bool)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldAddType(builder *Builder, type_ UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldAddTypeType(builder *Builder, typeType flatbuf.Type)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldStartChildrenVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FieldStartCustomMetadataVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FixedSizeBinaryAddByteWidth(builder *Builder, byteWidth int32)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FixedSizeBinaryEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FixedSizeBinaryStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FixedSizeListAddListSize(builder *Builder, listSize int32)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FixedSizeListEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FixedSizeListStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FloatingPointAddPrecision(builder *Builder, precision flatbuf.Precision)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FloatingPointEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FloatingPointStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterAddCustomMetadata(builder *Builder, customMetadata UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterAddDictionaries(builder *Builder, dictionaries UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterAddRecordBatches(builder *Builder, recordBatches UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterAddSchema(builder *Builder, schema UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterAddVersion(builder *Builder, version flatbuf.MetadataVersion)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterStartCustomMetadataVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterStartDictionariesVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.FooterStartRecordBatchesVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.IntAddBitWidth(builder *Builder, bitWidth int32)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.IntAddIsSigned(builder *Builder, isSigned bool)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.IntEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.IntervalAddUnit(builder *Builder, unit flatbuf.IntervalUnit)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.IntervalEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.IntervalStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.IntStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.KeyValueAddKey(builder *Builder, key UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.KeyValueAddValue(builder *Builder, value UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.KeyValueEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.KeyValueStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.LargeBinaryEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.LargeBinaryStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.LargeListEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.LargeListStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.LargeListViewEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.LargeListViewStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.LargeUtf8End(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.LargeUtf8Start(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.ListEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.ListStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.ListViewEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.ListViewStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MapAddKeysSorted(builder *Builder, keysSorted bool)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MapEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MapStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MessageAddBodyLength(builder *Builder, bodyLength int64)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MessageAddCustomMetadata(builder *Builder, customMetadata UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MessageAddHeader(builder *Builder, header UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MessageAddHeaderType(builder *Builder, headerType flatbuf.MessageHeader)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MessageAddVersion(builder *Builder, version flatbuf.MetadataVersion)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MessageEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MessageStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.MessageStartCustomMetadataVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.NullEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.NullStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchAddBuffers(builder *Builder, buffers UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchAddCompression(builder *Builder, compression UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchAddLength(builder *Builder, length int64)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchAddNodes(builder *Builder, nodes UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchAddVariadicBufferCounts(builder *Builder, variadicBufferCounts UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchStartBuffersVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchStartNodesVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RecordBatchStartVariadicBufferCountsVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RunEndEncodedEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RunEndEncodedStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RunLengthEncodedEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.RunLengthEncodedStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SchemaAddCustomMetadata(builder *Builder, customMetadata UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SchemaAddEndianness(builder *Builder, endianness flatbuf.Endianness)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SchemaAddFeatures(builder *Builder, features UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SchemaAddFields(builder *Builder, fields UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SchemaEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SchemaStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SchemaStartCustomMetadataVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SchemaStartFeaturesVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SchemaStartFieldsVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSRAddIndicesBuffer(builder *Builder, indicesBuffer UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSRAddIndicesType(builder *Builder, indicesType UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSRAddIndptrBuffer(builder *Builder, indptrBuffer UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSRAddIndptrType(builder *Builder, indptrType UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSREnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSRStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSXAddCompressedAxis(builder *Builder, compressedAxis flatbuf.SparseMatrixCompressedAxis)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSXAddIndicesBuffer(builder *Builder, indicesBuffer UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSXAddIndicesType(builder *Builder, indicesType UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSXAddIndptrBuffer(builder *Builder, indptrBuffer UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSXAddIndptrType(builder *Builder, indptrType UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSXEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseMatrixIndexCSXStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorAddData(builder *Builder, data UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorAddNonZeroLength(builder *Builder, nonZeroLength int64)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorAddShape(builder *Builder, shape UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorAddSparseIndex(builder *Builder, sparseIndex UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorAddSparseIndexType(builder *Builder, sparseIndexType flatbuf.SparseTensorIndex)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorAddType(builder *Builder, type_ UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorAddTypeType(builder *Builder, typeType flatbuf.Type)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCOOAddIndicesBuffer(builder *Builder, indicesBuffer UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCOOAddIndicesStrides(builder *Builder, indicesStrides UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCOOAddIndicesType(builder *Builder, indicesType UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCOOAddIsCanonical(builder *Builder, isCanonical bool)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCOOEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCOOStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCOOStartIndicesStridesVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFAddAxisOrder(builder *Builder, axisOrder UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFAddIndicesBuffers(builder *Builder, indicesBuffers UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFAddIndicesType(builder *Builder, indicesType UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFAddIndptrBuffers(builder *Builder, indptrBuffers UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFAddIndptrType(builder *Builder, indptrType UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFStartAxisOrderVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFStartIndicesBuffersVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorIndexCSFStartIndptrBuffersVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.SparseTensorStartShapeVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.Struct_End(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.Struct_Start(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorAddData(builder *Builder, data UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorAddShape(builder *Builder, shape UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorAddStrides(builder *Builder, strides UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorAddType(builder *Builder, type_ UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorAddTypeType(builder *Builder, typeType flatbuf.Type)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorDimAddName(builder *Builder, name UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorDimAddSize(builder *Builder, size int64)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorDimEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorDimStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorStartShapeVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TensorStartStridesVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TimeAddBitWidth(builder *Builder, bitWidth int32)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TimeAddUnit(builder *Builder, unit flatbuf.TimeUnit)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TimeEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TimestampAddTimezone(builder *Builder, timezone UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TimestampAddUnit(builder *Builder, unit flatbuf.TimeUnit)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TimestampEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TimestampStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.TimeStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.UnionAddMode(builder *Builder, mode flatbuf.UnionMode)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.UnionAddTypeIds(builder *Builder, typeIds UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.UnionEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.UnionStart(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.UnionStartTypeIdsVector(builder *Builder, numElems int) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.Utf8End(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.Utf8Start(builder *Builder)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.Utf8ViewEnd(builder *Builder) UOffsetT
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.Utf8ViewStart(builder *Builder)
FlatbuffersCodec defines the interface gRPC uses to encode and decode messages. Note
that implementations of this interface must be thread safe; a Codec's
methods can be called from concurrent goroutines. Marshal returns the wire format of v. Name returns the name of the Codec implementation. The returned string
will be used as part of content type in transmission. The result must be
static; the result cannot change between calls.
add Name() for ForceCodec interface String old gRPC Codec interface func Unmarshal parses the wire format into v.
FlatbuffersCodec : github.com/polarsignals/frostdb/query/logicalplan.Named
FlatbuffersCodec : expvar.Var
FlatbuffersCodec : fmt.Stringer
FlatbuffersCodec : google.golang.org/grpc.Codec
FlatbuffersCodec : google.golang.org/grpc/encoding.Codec
Struct wraps a byte slice and provides read access to its data.
Structs do not have a vtable.TableTableTable.Bytes[]byte // Always < 1<<31. ByteVector gets a byte slice from data stored inside the flatbuffer. GetBool retrieves a bool at the given offset. GetBoolSlot retrieves the bool that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetByte retrieves a byte at the given offset. GetByteSlot retrieves the byte that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetFloat32 retrieves a float32 at the given offset. GetFloat32Slot retrieves the float32 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetFloat64 retrieves a float64 at the given offset. GetFloat64Slot retrieves the float64 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetInt16 retrieves a int16 at the given offset. GetInt16Slot retrieves the int16 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetInt32 retrieves a int32 at the given offset. GetInt32Slot retrieves the int32 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetInt64 retrieves a int64 at the given offset. GetInt64Slot retrieves the int64 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetInt8 retrieves a int8 at the given offset. GetInt8Slot retrieves the int8 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetSOffsetT retrieves a SOffsetT at the given offset. GetUOffsetT retrieves a UOffsetT at the given offset. GetUint16 retrieves a uint16 at the given offset. GetUint16Slot retrieves the uint16 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetUint32 retrieves a uint32 at the given offset. GetUint32Slot retrieves the uint32 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetUint64 retrieves a uint64 at the given offset. GetUint64Slot retrieves the uint64 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetUint8 retrieves a uint8 at the given offset. GetUint8Slot retrieves the uint8 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetVOffsetT retrieves a VOffsetT at the given offset. GetVOffsetTSlot retrieves the VOffsetT that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. Indirect retrieves the relative offset stored at `offset`. MutateBool updates a bool at the given offset. MutateBoolSlot updates the bool at given vtable location MutateByte updates a Byte at the given offset. MutateByteSlot updates the byte at given vtable location MutateFloat32 updates a Float32 at the given offset. MutateFloat32Slot updates the float32 at given vtable location MutateFloat64 updates a Float64 at the given offset. MutateFloat64Slot updates the float64 at given vtable location MutateInt16 updates a Int16 at the given offset. MutateInt16Slot updates the int16 at given vtable location MutateInt32 updates a Int32 at the given offset. MutateInt32Slot updates the int32 at given vtable location MutateInt64 updates a Int64 at the given offset. MutateInt64Slot updates the int64 at given vtable location MutateInt8 updates a Int8 at the given offset. MutateInt8Slot updates the int8 at given vtable location MutateSOffsetT updates a SOffsetT at the given offset. MutateUOffsetT updates a UOffsetT at the given offset. MutateUint16 updates a Uint16 at the given offset. MutateUint16Slot updates the uint16 at given vtable location MutateUint32 updates a Uint32 at the given offset. MutateUint32Slot updates the uint32 at given vtable location MutateUint64 updates a Uint64 at the given offset. MutateUint64Slot updates the uint64 at given vtable location MutateUint8 updates a Uint8 at the given offset. MutateUint8Slot updates the uint8 at given vtable location MutateVOffsetT updates a VOffsetT at the given offset. Offset provides access into the Table's vtable.
Fields which are deprecated are ignored by checking against the vtable's length. String gets a string from data stored inside the flatbuffer. Union initializes any Table-derived type to point to the union at the given
offset. Vector retrieves the start of data of the vector whose offset is stored
at "off" in this object. VectorLen retrieves the length of the vector whose offset is stored at
"off" in this object.
Table wraps a byte slice and provides read access to its data.
The variable `Pos` indicates the root of the FlatBuffers object therein.Bytes[]byte // Always < 1<<31. ByteVector gets a byte slice from data stored inside the flatbuffer. GetBool retrieves a bool at the given offset. GetBoolSlot retrieves the bool that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetByte retrieves a byte at the given offset. GetByteSlot retrieves the byte that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetFloat32 retrieves a float32 at the given offset. GetFloat32Slot retrieves the float32 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetFloat64 retrieves a float64 at the given offset. GetFloat64Slot retrieves the float64 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetInt16 retrieves a int16 at the given offset. GetInt16Slot retrieves the int16 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetInt32 retrieves a int32 at the given offset. GetInt32Slot retrieves the int32 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetInt64 retrieves a int64 at the given offset. GetInt64Slot retrieves the int64 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetInt8 retrieves a int8 at the given offset. GetInt8Slot retrieves the int8 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetSOffsetT retrieves a SOffsetT at the given offset. GetUOffsetT retrieves a UOffsetT at the given offset. GetUint16 retrieves a uint16 at the given offset. GetUint16Slot retrieves the uint16 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetUint32 retrieves a uint32 at the given offset. GetUint32Slot retrieves the uint32 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetUint64 retrieves a uint64 at the given offset. GetUint64Slot retrieves the uint64 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetUint8 retrieves a uint8 at the given offset. GetUint8Slot retrieves the uint8 that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. GetVOffsetT retrieves a VOffsetT at the given offset. GetVOffsetTSlot retrieves the VOffsetT that the given vtable location
points to. If the vtable value is zero, the default value `d`
will be returned. Indirect retrieves the relative offset stored at `offset`. MutateBool updates a bool at the given offset. MutateBoolSlot updates the bool at given vtable location MutateByte updates a Byte at the given offset. MutateByteSlot updates the byte at given vtable location MutateFloat32 updates a Float32 at the given offset. MutateFloat32Slot updates the float32 at given vtable location MutateFloat64 updates a Float64 at the given offset. MutateFloat64Slot updates the float64 at given vtable location MutateInt16 updates a Int16 at the given offset. MutateInt16Slot updates the int16 at given vtable location MutateInt32 updates a Int32 at the given offset. MutateInt32Slot updates the int32 at given vtable location MutateInt64 updates a Int64 at the given offset. MutateInt64Slot updates the int64 at given vtable location MutateInt8 updates a Int8 at the given offset. MutateInt8Slot updates the int8 at given vtable location MutateSOffsetT updates a SOffsetT at the given offset. MutateUOffsetT updates a UOffsetT at the given offset. MutateUint16 updates a Uint16 at the given offset. MutateUint16Slot updates the uint16 at given vtable location MutateUint32 updates a Uint32 at the given offset. MutateUint32Slot updates the uint32 at given vtable location MutateUint64 updates a Uint64 at the given offset. MutateUint64Slot updates the uint64 at given vtable location MutateUint8 updates a Uint8 at the given offset. MutateUint8Slot updates the uint8 at given vtable location MutateVOffsetT updates a VOffsetT at the given offset. Offset provides access into the Table's vtable.
Fields which are deprecated are ignored by checking against the vtable's length. String gets a string from data stored inside the flatbuffer. Union initializes any Table-derived type to point to the union at the given
offset. Vector retrieves the start of data of the vector whose offset is stored
at "off" in this object. VectorLen retrieves the length of the vector whose offset is stored at
"off" in this object.
func FlatBuffer.Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Binary).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*BinaryView).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Block).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*BodyCompression).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Bool).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Buffer).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Date).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Decimal).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*DictionaryBatch).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*DictionaryEncoding).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Duration).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Field).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*FieldNode).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*FixedSizeBinary).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*FixedSizeList).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*FloatingPoint).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Footer).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Int).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Interval).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*KeyValue).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*LargeBinary).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*LargeList).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*LargeListView).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*LargeUtf8).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*List).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*ListView).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Map).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Message).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Null).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*RecordBatch).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*RunEndEncoded).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*RunLengthEncoded).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Schema).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*SparseMatrixIndexCSR).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*SparseMatrixIndexCSX).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*SparseTensor).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*SparseTensorIndexCOO).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*SparseTensorIndexCSF).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Struct_).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Tensor).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*TensorDim).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Time).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Timestamp).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Union).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Utf8).Table() Table
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Utf8View).Table() Table
func (*Table).Union(t2 *Table, off UOffsetT)
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Field).Type(obj *Table) bool
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Message).Header(obj *Table) bool
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*SparseTensor).SparseIndex(obj *Table) bool
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*SparseTensor).Type(obj *Table) bool
func github.com/apache/arrow-go/v18/arrow/internal/flatbuf.(*Tensor).Type(obj *Table) bool
BufferHasIdentifier checks if the identifier in a buffer has the expected value
GetBool decodes a little-endian bool from a byte slice.
GetBufferIdentifier returns the file identifier as string
GetByte decodes a little-endian byte from a byte slice.
GetFloat32 decodes a little-endian float32 from a byte slice.
GetFloat64 decodes a little-endian float64 from a byte slice.
GetIndirectOffset retrives the relative offset in the provided buffer stored at `offset`.
GetInt16 decodes a little-endian int16 from a byte slice.
GetInt32 decodes a little-endian int32 from a byte slice.
GetInt64 decodes a little-endian int64 from a byte slice.
GetInt8 decodes a little-endian int8 from a byte slice.
GetRootAs is a generic helper to initialize a FlatBuffer with the provided buffer bytes and its data offset.
GetSizePrefix reads the size from a size-prefixed flatbuffer
GetBufferIdentifier returns the file identifier as string for a size-prefixed buffer
GetSizePrefixedRootAs is a generic helper to initialize a FlatBuffer with the provided size-prefixed buffer
bytes and its data offset
GetSOffsetT decodes a little-endian SOffsetT from a byte slice.
GetUint16 decodes a little-endian uint16 from a byte slice.
GetUint32 decodes a little-endian uint32 from a byte slice.
GetUint64 decodes a little-endian uint64 from a byte slice.
GetUint8 decodes a little-endian uint8 from a byte slice.
GetUOffsetT decodes a little-endian UOffsetT from a byte slice.
GetVOffsetT decodes a little-endian VOffsetT from a byte slice.
NewBuilder initializes a Builder of size `initial_size`.
The internal buffer is grown as needed.
BufferHasIdentifier checks if the identifier in a buffer has the expected value for a size-prefixed buffer
WriteBool encodes a little-endian bool into a byte slice.
WriteByte encodes a little-endian uint8 into a byte slice.
WriteFloat32 encodes a little-endian float32 into a byte slice.
WriteFloat64 encodes a little-endian float64 into a byte slice.
WriteInt16 encodes a little-endian int16 into a byte slice.
WriteInt32 encodes a little-endian int32 into a byte slice.
WriteInt64 encodes a little-endian int64 into a byte slice.
WriteInt8 encodes a little-endian int8 into a byte slice.
WriteSOffsetT encodes a little-endian SOffsetT into a byte slice.
WriteUint16 encodes a little-endian uint16 into a byte slice.
WriteUint32 encodes a little-endian uint32 into a byte slice.
WriteUint64 encodes a little-endian uint64 into a byte slice.
WriteUint8 encodes a little-endian uint8 into a byte slice.
WriteUOffsetT encodes a little-endian UOffsetT into a byte slice.
WriteVOffsetT encodes a little-endian VOffsetT into a byte slice.
Package-Level Variables (only one)
Codec implements gRPC-go Codec which is used to encode and decode messages.
Package-Level Constants (total 16)
SizeBool is the byte size of a bool.
The `bool` type is aliased (by flatbuffers convention) to uint8.
SizeByte is the byte size of a byte.
The `byte` type is aliased (by Go definition) to uint8.
SizeFloat32 is the byte size of a float32.
SizeFloat64 is the byte size of a float64.
SizeInt16 is the byte size of a int16.
SizeInt32 is the byte size of a int32.
SizeInt64 is the byte size of a int64.
SizeInt8 is the byte size of a int8.
SizeSOffsetT is the byte size of an SOffsetT.
The `SOffsetT` type is aliased (by flatbuffers convention) to int32.
SizeUint16 is the byte size of a uint16.
SizeUint32 is the byte size of a uint32.
SizeUint64 is the byte size of a uint64.
SizeUint8 is the byte size of a uint8.
SizeUOffsetT is the byte size of an UOffsetT.
The `UOffsetT` type is aliased (by flatbuffers convention) to uint32.
SizeVOffsetT is the byte size of an VOffsetT.
The `VOffsetT` type is aliased (by flatbuffers convention) to uint16.
VtableMetadataFields is the count of metadata fields in each vtable.
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.