Documentation ¶
Index ¶
- Constants
- Variables
- func EnumAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func EnumAddDeclarationFile(builder *flatbuffers.Builder, declarationFile flatbuffers.UOffsetT)
- func EnumAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func EnumAddIsUnion(builder *flatbuffers.Builder, isUnion bool)
- func EnumAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func EnumAddUnderlyingType(builder *flatbuffers.Builder, underlyingType flatbuffers.UOffsetT)
- func EnumAddValues(builder *flatbuffers.Builder, values flatbuffers.UOffsetT)
- func EnumEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func EnumKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func EnumStart(builder *flatbuffers.Builder)
- func EnumStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func EnumStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func EnumStartValuesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func EnumValAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func EnumValAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func EnumValAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func EnumValAddUnionType(builder *flatbuffers.Builder, unionType flatbuffers.UOffsetT)
- func EnumValAddValue(builder *flatbuffers.Builder, value int64)
- func EnumValEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func EnumValKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func EnumValStart(builder *flatbuffers.Builder)
- func EnumValStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func EnumValStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func FieldAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func FieldAddDefaultInteger(builder *flatbuffers.Builder, defaultInteger int64)
- func FieldAddDefaultReal(builder *flatbuffers.Builder, defaultReal float64)
- func FieldAddDeprecated(builder *flatbuffers.Builder, deprecated bool)
- func FieldAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func FieldAddId(builder *flatbuffers.Builder, id uint16)
- func FieldAddKey(builder *flatbuffers.Builder, key bool)
- func FieldAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func FieldAddOffset(builder *flatbuffers.Builder, offset uint16)
- func FieldAddOffset64(builder *flatbuffers.Builder, offset64 bool)
- func FieldAddOptional(builder *flatbuffers.Builder, optional bool)
- func FieldAddPadding(builder *flatbuffers.Builder, padding uint16)
- func FieldAddRequired(builder *flatbuffers.Builder, required bool)
- func FieldAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)
- func FieldEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func FieldKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func FieldStart(builder *flatbuffers.Builder)
- func FieldStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func FieldStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func FinishEnumBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishEnumValBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishFieldBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishKeyValueBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishObjectBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishRPCCallBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSchemaBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSchemaFileBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishServiceBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedEnumBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedEnumValBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedFieldBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedKeyValueBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedObjectBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedRPCCallBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedSchemaBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedSchemaFileBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedServiceBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishSizePrefixedTypeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func FinishTypeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
- func KeyValueAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)
- func KeyValueAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)
- func KeyValueEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func KeyValueKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func KeyValueStart(builder *flatbuffers.Builder)
- func ObjectAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func ObjectAddBytesize(builder *flatbuffers.Builder, bytesize int32)
- func ObjectAddDeclarationFile(builder *flatbuffers.Builder, declarationFile flatbuffers.UOffsetT)
- func ObjectAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func ObjectAddFields(builder *flatbuffers.Builder, fields flatbuffers.UOffsetT)
- func ObjectAddIsStruct(builder *flatbuffers.Builder, isStruct bool)
- func ObjectAddMinalign(builder *flatbuffers.Builder, minalign int32)
- func ObjectAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func ObjectEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ObjectKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func ObjectStart(builder *flatbuffers.Builder)
- func ObjectStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ObjectStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ObjectStartFieldsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func RPCCallAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func RPCCallAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func RPCCallAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func RPCCallAddRequest(builder *flatbuffers.Builder, request flatbuffers.UOffsetT)
- func RPCCallAddResponse(builder *flatbuffers.Builder, response flatbuffers.UOffsetT)
- func RPCCallEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func RPCCallKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func RPCCallStart(builder *flatbuffers.Builder)
- func RPCCallStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func RPCCallStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SchemaAddAdvancedFeatures(builder *flatbuffers.Builder, advancedFeatures AdvancedFeatures)
- func SchemaAddEnums(builder *flatbuffers.Builder, enums flatbuffers.UOffsetT)
- func SchemaAddFbsFiles(builder *flatbuffers.Builder, fbsFiles flatbuffers.UOffsetT)
- func SchemaAddFileExt(builder *flatbuffers.Builder, fileExt flatbuffers.UOffsetT)
- func SchemaAddFileIdent(builder *flatbuffers.Builder, fileIdent flatbuffers.UOffsetT)
- func SchemaAddObjects(builder *flatbuffers.Builder, objects flatbuffers.UOffsetT)
- func SchemaAddRootTable(builder *flatbuffers.Builder, rootTable flatbuffers.UOffsetT)
- func SchemaAddServices(builder *flatbuffers.Builder, services flatbuffers.UOffsetT)
- func SchemaBufferHasIdentifier(buf []byte) bool
- func SchemaEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func SchemaFileAddFilename(builder *flatbuffers.Builder, filename flatbuffers.UOffsetT)
- func SchemaFileAddIncludedFilenames(builder *flatbuffers.Builder, includedFilenames flatbuffers.UOffsetT)
- func SchemaFileEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func SchemaFileKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func SchemaFileStart(builder *flatbuffers.Builder)
- func SchemaFileStartIncludedFilenamesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SchemaStart(builder *flatbuffers.Builder)
- func SchemaStartEnumsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SchemaStartFbsFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SchemaStartObjectsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SchemaStartServicesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ServiceAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
- func ServiceAddCalls(builder *flatbuffers.Builder, calls flatbuffers.UOffsetT)
- func ServiceAddDeclarationFile(builder *flatbuffers.Builder, declarationFile flatbuffers.UOffsetT)
- func ServiceAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
- func ServiceAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func ServiceEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ServiceKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
- func ServiceStart(builder *flatbuffers.Builder)
- func ServiceStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ServiceStartCallsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ServiceStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SizePrefixedSchemaBufferHasIdentifier(buf []byte) bool
- func TypeAddBaseSize(builder *flatbuffers.Builder, baseSize uint32)
- func TypeAddBaseType(builder *flatbuffers.Builder, baseType BaseType)
- func TypeAddElement(builder *flatbuffers.Builder, element BaseType)
- func TypeAddElementSize(builder *flatbuffers.Builder, elementSize uint32)
- func TypeAddFixedLength(builder *flatbuffers.Builder, fixedLength uint16)
- func TypeAddIndex(builder *flatbuffers.Builder, index int32)
- func TypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TypeStart(builder *flatbuffers.Builder)
- type AdvancedFeatures
- type BaseType
- type Enum
- func (rcv *Enum) Attributes(obj *KeyValue, j int) bool
- func (rcv *Enum) AttributesByKey(obj *KeyValue, key string) bool
- func (rcv *Enum) AttributesLength() int
- func (rcv *Enum) DeclarationFile() []byte
- func (rcv *Enum) Documentation(j int) []byte
- func (rcv *Enum) DocumentationLength() int
- func (rcv *Enum) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Enum) IsUnion() bool
- func (rcv *Enum) LookupByKey(key string, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *Enum) MutateIsUnion(n bool) bool
- func (rcv *Enum) Name() []byte
- func (rcv *Enum) Table() flatbuffers.Table
- func (rcv *Enum) UnderlyingType(obj *Type) *Type
- func (rcv *Enum) Values(obj *EnumVal, j int) bool
- func (rcv *Enum) ValuesByKey(obj *EnumVal, key int64) bool
- func (rcv *Enum) ValuesLength() int
- type EnumVal
- func (rcv *EnumVal) Attributes(obj *KeyValue, j int) bool
- func (rcv *EnumVal) AttributesByKey(obj *KeyValue, key string) bool
- func (rcv *EnumVal) AttributesLength() int
- func (rcv *EnumVal) Documentation(j int) []byte
- func (rcv *EnumVal) DocumentationLength() int
- func (rcv *EnumVal) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *EnumVal) LookupByKey(key int64, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *EnumVal) MutateValue(n int64) bool
- func (rcv *EnumVal) Name() []byte
- func (rcv *EnumVal) Table() flatbuffers.Table
- func (rcv *EnumVal) UnionType(obj *Type) *Type
- func (rcv *EnumVal) Value() int64
- type Field
- func (rcv *Field) Attributes(obj *KeyValue, j int) bool
- func (rcv *Field) AttributesByKey(obj *KeyValue, key string) bool
- func (rcv *Field) AttributesLength() int
- func (rcv *Field) DefaultInteger() int64
- func (rcv *Field) DefaultReal() float64
- func (rcv *Field) Deprecated() bool
- func (rcv *Field) Documentation(j int) []byte
- func (rcv *Field) DocumentationLength() int
- func (rcv *Field) Id() uint16
- func (rcv *Field) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Field) Key() bool
- func (rcv *Field) LookupByKey(key string, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *Field) MutateDefaultInteger(n int64) bool
- func (rcv *Field) MutateDefaultReal(n float64) bool
- func (rcv *Field) MutateDeprecated(n bool) bool
- func (rcv *Field) MutateId(n uint16) bool
- func (rcv *Field) MutateKey(n bool) bool
- func (rcv *Field) MutateOffset(n uint16) bool
- func (rcv *Field) MutateOffset64(n bool) bool
- func (rcv *Field) MutateOptional(n bool) bool
- func (rcv *Field) MutatePadding(n uint16) bool
- func (rcv *Field) MutateRequired(n bool) bool
- func (rcv *Field) Name() []byte
- func (rcv *Field) Offset() uint16
- func (rcv *Field) Offset64() bool
- func (rcv *Field) Optional() bool
- func (rcv *Field) Padding() uint16
- func (rcv *Field) Required() bool
- func (rcv *Field) Table() flatbuffers.Table
- func (rcv *Field) Type(obj *Type) *Type
- type KeyValue
- type Object
- func (rcv *Object) Attributes(obj *KeyValue, j int) bool
- func (rcv *Object) AttributesByKey(obj *KeyValue, key string) bool
- func (rcv *Object) AttributesLength() int
- func (rcv *Object) Bytesize() int32
- func (rcv *Object) DeclarationFile() []byte
- func (rcv *Object) Documentation(j int) []byte
- func (rcv *Object) DocumentationLength() int
- func (rcv *Object) Fields(obj *Field, j int) bool
- func (rcv *Object) FieldsByKey(obj *Field, key string) bool
- func (rcv *Object) FieldsLength() int
- func (rcv *Object) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Object) IsStruct() bool
- func (rcv *Object) LookupByKey(key string, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *Object) Minalign() int32
- func (rcv *Object) MutateBytesize(n int32) bool
- func (rcv *Object) MutateIsStruct(n bool) bool
- func (rcv *Object) MutateMinalign(n int32) bool
- func (rcv *Object) Name() []byte
- func (rcv *Object) Table() flatbuffers.Table
- type RPCCall
- func (rcv *RPCCall) Attributes(obj *KeyValue, j int) bool
- func (rcv *RPCCall) AttributesByKey(obj *KeyValue, key string) bool
- func (rcv *RPCCall) AttributesLength() int
- func (rcv *RPCCall) Documentation(j int) []byte
- func (rcv *RPCCall) DocumentationLength() int
- func (rcv *RPCCall) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *RPCCall) LookupByKey(key string, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *RPCCall) Name() []byte
- func (rcv *RPCCall) Request(obj *Object) *Object
- func (rcv *RPCCall) Response(obj *Object) *Object
- func (rcv *RPCCall) Table() flatbuffers.Table
- type Schema
- func (rcv *Schema) AdvancedFeatures() AdvancedFeatures
- func (rcv *Schema) Enums(obj *Enum, j int) bool
- func (rcv *Schema) EnumsByKey(obj *Enum, key string) bool
- func (rcv *Schema) EnumsLength() int
- func (rcv *Schema) FbsFiles(obj *SchemaFile, j int) bool
- func (rcv *Schema) FbsFilesByKey(obj *SchemaFile, key string) bool
- func (rcv *Schema) FbsFilesLength() int
- func (rcv *Schema) FileExt() []byte
- func (rcv *Schema) FileIdent() []byte
- func (rcv *Schema) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Schema) MutateAdvancedFeatures(n AdvancedFeatures) bool
- func (rcv *Schema) Objects(obj *Object, j int) bool
- func (rcv *Schema) ObjectsByKey(obj *Object, key string) bool
- func (rcv *Schema) ObjectsLength() int
- func (rcv *Schema) RootTable(obj *Object) *Object
- func (rcv *Schema) Services(obj *Service, j int) bool
- func (rcv *Schema) ServicesByKey(obj *Service, key string) bool
- func (rcv *Schema) ServicesLength() int
- func (rcv *Schema) Table() flatbuffers.Table
- type SchemaFile
- func (rcv *SchemaFile) Filename() []byte
- func (rcv *SchemaFile) IncludedFilenames(j int) []byte
- func (rcv *SchemaFile) IncludedFilenamesLength() int
- func (rcv *SchemaFile) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *SchemaFile) LookupByKey(key string, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *SchemaFile) Table() flatbuffers.Table
- type Service
- func (rcv *Service) Attributes(obj *KeyValue, j int) bool
- func (rcv *Service) AttributesByKey(obj *KeyValue, key string) bool
- func (rcv *Service) AttributesLength() int
- func (rcv *Service) Calls(obj *RPCCall, j int) bool
- func (rcv *Service) CallsByKey(obj *RPCCall, key string) bool
- func (rcv *Service) CallsLength() int
- func (rcv *Service) DeclarationFile() []byte
- func (rcv *Service) Documentation(j int) []byte
- func (rcv *Service) DocumentationLength() int
- func (rcv *Service) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Service) LookupByKey(key string, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
- func (rcv *Service) Name() []byte
- func (rcv *Service) Table() flatbuffers.Table
- type Type
- func (rcv *Type) BaseSize() uint32
- func (rcv *Type) BaseType() BaseType
- func (rcv *Type) Element() BaseType
- func (rcv *Type) ElementSize() uint32
- func (rcv *Type) FixedLength() uint16
- func (rcv *Type) Index() int32
- func (rcv *Type) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Type) MutateBaseSize(n uint32) bool
- func (rcv *Type) MutateBaseType(n BaseType) bool
- func (rcv *Type) MutateElement(n BaseType) bool
- func (rcv *Type) MutateElementSize(n uint32) bool
- func (rcv *Type) MutateFixedLength(n uint16) bool
- func (rcv *Type) MutateIndex(n int32) bool
- func (rcv *Type) Table() flatbuffers.Table
Constants ¶
const SchemaIdentifier = "BFBS"
Variables ¶
var EnumNamesAdvancedFeatures = map[AdvancedFeatures]string{ AdvancedFeaturesAdvancedArrayFeatures: "AdvancedArrayFeatures", AdvancedFeaturesAdvancedUnionFeatures: "AdvancedUnionFeatures", AdvancedFeaturesOptionalScalars: "OptionalScalars", AdvancedFeaturesDefaultVectorsAndStrings: "DefaultVectorsAndStrings", }
var EnumNamesBaseType = map[BaseType]string{ BaseTypeNone: "None", BaseTypeUType: "UType", BaseTypeBool: "Bool", BaseTypeByte: "Byte", BaseTypeUByte: "UByte", BaseTypeShort: "Short", BaseTypeUShort: "UShort", BaseTypeInt: "Int", BaseTypeUInt: "UInt", BaseTypeLong: "Long", BaseTypeULong: "ULong", BaseTypeFloat: "Float", BaseTypeDouble: "Double", BaseTypeString: "String", BaseTypeVector: "Vector", BaseTypeObj: "Obj", BaseTypeUnion: "Union", BaseTypeArray: "Array", BaseTypeVector64: "Vector64", BaseTypeMaxBaseType: "MaxBaseType", }
var EnumValuesAdvancedFeatures = map[string]AdvancedFeatures{ "AdvancedArrayFeatures": AdvancedFeaturesAdvancedArrayFeatures, "AdvancedUnionFeatures": AdvancedFeaturesAdvancedUnionFeatures, "OptionalScalars": AdvancedFeaturesOptionalScalars, "DefaultVectorsAndStrings": AdvancedFeaturesDefaultVectorsAndStrings, }
var EnumValuesBaseType = map[string]BaseType{ "None": BaseTypeNone, "UType": BaseTypeUType, "Bool": BaseTypeBool, "Byte": BaseTypeByte, "UByte": BaseTypeUByte, "Short": BaseTypeShort, "UShort": BaseTypeUShort, "Int": BaseTypeInt, "UInt": BaseTypeUInt, "Long": BaseTypeLong, "ULong": BaseTypeULong, "Float": BaseTypeFloat, "Double": BaseTypeDouble, "String": BaseTypeString, "Vector": BaseTypeVector, "Obj": BaseTypeObj, "Union": BaseTypeUnion, "Array": BaseTypeArray, "Vector64": BaseTypeVector64, "MaxBaseType": BaseTypeMaxBaseType, }
Functions ¶
func EnumAddAttributes ¶
func EnumAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func EnumAddDeclarationFile ¶
func EnumAddDeclarationFile(builder *flatbuffers.Builder, declarationFile flatbuffers.UOffsetT)
func EnumAddDocumentation ¶
func EnumAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func EnumAddIsUnion ¶
func EnumAddIsUnion(builder *flatbuffers.Builder, isUnion bool)
func EnumAddName ¶
func EnumAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func EnumAddUnderlyingType ¶
func EnumAddUnderlyingType(builder *flatbuffers.Builder, underlyingType flatbuffers.UOffsetT)
func EnumAddValues ¶
func EnumAddValues(builder *flatbuffers.Builder, values flatbuffers.UOffsetT)
func EnumEnd ¶
func EnumEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func EnumKeyCompare ¶
func EnumKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
func EnumStartAttributesVector ¶
func EnumStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func EnumStartDocumentationVector ¶
func EnumStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func EnumStartValuesVector ¶
func EnumStartValuesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func EnumValAddAttributes ¶
func EnumValAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func EnumValAddDocumentation ¶
func EnumValAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func EnumValAddName ¶
func EnumValAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func EnumValAddUnionType ¶
func EnumValAddUnionType(builder *flatbuffers.Builder, unionType flatbuffers.UOffsetT)
func EnumValAddValue ¶
func EnumValAddValue(builder *flatbuffers.Builder, value int64)
func EnumValEnd ¶
func EnumValEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func EnumValKeyCompare ¶
func EnumValKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
func EnumValStart ¶
func EnumValStart(builder *flatbuffers.Builder)
func EnumValStartAttributesVector ¶
func EnumValStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func EnumValStartDocumentationVector ¶
func EnumValStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func FieldAddAttributes ¶
func FieldAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func FieldAddDefaultInteger ¶
func FieldAddDefaultInteger(builder *flatbuffers.Builder, defaultInteger int64)
func FieldAddDefaultReal ¶
func FieldAddDefaultReal(builder *flatbuffers.Builder, defaultReal float64)
func FieldAddDeprecated ¶
func FieldAddDeprecated(builder *flatbuffers.Builder, deprecated bool)
func FieldAddDocumentation ¶
func FieldAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func FieldAddId ¶
func FieldAddId(builder *flatbuffers.Builder, id uint16)
func FieldAddKey ¶
func FieldAddKey(builder *flatbuffers.Builder, key bool)
func FieldAddName ¶
func FieldAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func FieldAddOffset ¶
func FieldAddOffset(builder *flatbuffers.Builder, offset uint16)
func FieldAddOffset64 ¶
func FieldAddOffset64(builder *flatbuffers.Builder, offset64 bool)
func FieldAddOptional ¶
func FieldAddOptional(builder *flatbuffers.Builder, optional bool)
func FieldAddPadding ¶
func FieldAddPadding(builder *flatbuffers.Builder, padding uint16)
func FieldAddRequired ¶
func FieldAddRequired(builder *flatbuffers.Builder, required bool)
func FieldAddType ¶
func FieldAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)
func FieldEnd ¶
func FieldEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func FieldKeyCompare ¶
func FieldKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
func FieldStart ¶
func FieldStart(builder *flatbuffers.Builder)
func FieldStartAttributesVector ¶
func FieldStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func FieldStartDocumentationVector ¶
func FieldStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func FinishEnumBuffer ¶
func FinishEnumBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishEnumValBuffer ¶
func FinishEnumValBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishFieldBuffer ¶
func FinishFieldBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishKeyValueBuffer ¶
func FinishKeyValueBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishObjectBuffer ¶
func FinishObjectBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishRPCCallBuffer ¶
func FinishRPCCallBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSchemaBuffer ¶
func FinishSchemaBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSchemaFileBuffer ¶
func FinishSchemaFileBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishServiceBuffer ¶
func FinishServiceBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedEnumBuffer ¶
func FinishSizePrefixedEnumBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedEnumValBuffer ¶
func FinishSizePrefixedEnumValBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedFieldBuffer ¶
func FinishSizePrefixedFieldBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedKeyValueBuffer ¶
func FinishSizePrefixedKeyValueBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedObjectBuffer ¶
func FinishSizePrefixedObjectBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedRPCCallBuffer ¶
func FinishSizePrefixedRPCCallBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedSchemaBuffer ¶
func FinishSizePrefixedSchemaBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedSchemaFileBuffer ¶
func FinishSizePrefixedSchemaFileBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedServiceBuffer ¶
func FinishSizePrefixedServiceBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishSizePrefixedTypeBuffer ¶
func FinishSizePrefixedTypeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func FinishTypeBuffer ¶
func FinishTypeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)
func KeyValueAddKey ¶
func KeyValueAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)
func KeyValueAddValue ¶
func KeyValueAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)
func KeyValueEnd ¶
func KeyValueEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func KeyValueKeyCompare ¶
func KeyValueKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
func KeyValueStart ¶
func KeyValueStart(builder *flatbuffers.Builder)
func ObjectAddAttributes ¶
func ObjectAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func ObjectAddBytesize ¶
func ObjectAddBytesize(builder *flatbuffers.Builder, bytesize int32)
func ObjectAddDeclarationFile ¶
func ObjectAddDeclarationFile(builder *flatbuffers.Builder, declarationFile flatbuffers.UOffsetT)
func ObjectAddDocumentation ¶
func ObjectAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func ObjectAddFields ¶
func ObjectAddFields(builder *flatbuffers.Builder, fields flatbuffers.UOffsetT)
func ObjectAddIsStruct ¶
func ObjectAddIsStruct(builder *flatbuffers.Builder, isStruct bool)
func ObjectAddMinalign ¶
func ObjectAddMinalign(builder *flatbuffers.Builder, minalign int32)
func ObjectAddName ¶
func ObjectAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func ObjectEnd ¶
func ObjectEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ObjectKeyCompare ¶
func ObjectKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
func ObjectStart ¶
func ObjectStart(builder *flatbuffers.Builder)
/ File that this Object is declared in.
func ObjectStartAttributesVector ¶
func ObjectStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ObjectStartDocumentationVector ¶
func ObjectStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ObjectStartFieldsVector ¶
func ObjectStartFieldsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func RPCCallAddAttributes ¶
func RPCCallAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func RPCCallAddDocumentation ¶
func RPCCallAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func RPCCallAddName ¶
func RPCCallAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func RPCCallAddRequest ¶
func RPCCallAddRequest(builder *flatbuffers.Builder, request flatbuffers.UOffsetT)
func RPCCallAddResponse ¶
func RPCCallAddResponse(builder *flatbuffers.Builder, response flatbuffers.UOffsetT)
func RPCCallEnd ¶
func RPCCallEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func RPCCallKeyCompare ¶
func RPCCallKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
func RPCCallStart ¶
func RPCCallStart(builder *flatbuffers.Builder)
func RPCCallStartAttributesVector ¶
func RPCCallStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func RPCCallStartDocumentationVector ¶
func RPCCallStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SchemaAddAdvancedFeatures ¶
func SchemaAddAdvancedFeatures(builder *flatbuffers.Builder, advancedFeatures AdvancedFeatures)
func SchemaAddEnums ¶
func SchemaAddEnums(builder *flatbuffers.Builder, enums flatbuffers.UOffsetT)
func SchemaAddFbsFiles ¶
func SchemaAddFbsFiles(builder *flatbuffers.Builder, fbsFiles flatbuffers.UOffsetT)
func SchemaAddFileExt ¶
func SchemaAddFileExt(builder *flatbuffers.Builder, fileExt flatbuffers.UOffsetT)
func SchemaAddFileIdent ¶
func SchemaAddFileIdent(builder *flatbuffers.Builder, fileIdent flatbuffers.UOffsetT)
func SchemaAddObjects ¶
func SchemaAddObjects(builder *flatbuffers.Builder, objects flatbuffers.UOffsetT)
func SchemaAddRootTable ¶
func SchemaAddRootTable(builder *flatbuffers.Builder, rootTable flatbuffers.UOffsetT)
func SchemaAddServices ¶
func SchemaAddServices(builder *flatbuffers.Builder, services flatbuffers.UOffsetT)
func SchemaEnd ¶
func SchemaEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func SchemaFileAddFilename ¶
func SchemaFileAddFilename(builder *flatbuffers.Builder, filename flatbuffers.UOffsetT)
func SchemaFileAddIncludedFilenames ¶
func SchemaFileAddIncludedFilenames(builder *flatbuffers.Builder, includedFilenames flatbuffers.UOffsetT)
func SchemaFileEnd ¶
func SchemaFileEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func SchemaFileKeyCompare ¶
func SchemaFileKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
/ Filename, relative to project root.
func SchemaFileStart ¶
func SchemaFileStart(builder *flatbuffers.Builder)
/ Names of included files, relative to project root.
func SchemaFileStartIncludedFilenamesVector ¶
func SchemaFileStartIncludedFilenamesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SchemaStart ¶
func SchemaStart(builder *flatbuffers.Builder)
/ All the files used in this compilation. Files are relative to where / flatc was invoked.
func SchemaStartEnumsVector ¶
func SchemaStartEnumsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SchemaStartFbsFilesVector ¶
func SchemaStartFbsFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SchemaStartObjectsVector ¶
func SchemaStartObjectsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SchemaStartServicesVector ¶
func SchemaStartServicesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ServiceAddAttributes ¶
func ServiceAddAttributes(builder *flatbuffers.Builder, attributes flatbuffers.UOffsetT)
func ServiceAddCalls ¶
func ServiceAddCalls(builder *flatbuffers.Builder, calls flatbuffers.UOffsetT)
func ServiceAddDeclarationFile ¶
func ServiceAddDeclarationFile(builder *flatbuffers.Builder, declarationFile flatbuffers.UOffsetT)
func ServiceAddDocumentation ¶
func ServiceAddDocumentation(builder *flatbuffers.Builder, documentation flatbuffers.UOffsetT)
func ServiceAddName ¶
func ServiceAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func ServiceEnd ¶
func ServiceEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ServiceKeyCompare ¶
func ServiceKeyCompare(o1, o2 flatbuffers.UOffsetT, buf []byte) bool
func ServiceStart ¶
func ServiceStart(builder *flatbuffers.Builder)
/ File that this Service is declared in.
func ServiceStartAttributesVector ¶
func ServiceStartAttributesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ServiceStartCallsVector ¶
func ServiceStartCallsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ServiceStartDocumentationVector ¶
func ServiceStartDocumentationVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TypeAddBaseSize ¶
func TypeAddBaseSize(builder *flatbuffers.Builder, baseSize uint32)
func TypeAddBaseType ¶
func TypeAddBaseType(builder *flatbuffers.Builder, baseType BaseType)
func TypeAddElement ¶
func TypeAddElement(builder *flatbuffers.Builder, element BaseType)
func TypeAddElementSize ¶
func TypeAddElementSize(builder *flatbuffers.Builder, elementSize uint32)
func TypeAddFixedLength ¶
func TypeAddFixedLength(builder *flatbuffers.Builder, fixedLength uint16)
func TypeAddIndex ¶
func TypeAddIndex(builder *flatbuffers.Builder, index int32)
func TypeEnd ¶
func TypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func TypeStart ¶
func TypeStart(builder *flatbuffers.Builder)
Types ¶
type AdvancedFeatures ¶
type AdvancedFeatures uint64
/ New schema language features that are not supported by old code generators.
const ( AdvancedFeaturesAdvancedArrayFeatures AdvancedFeatures = 1 AdvancedFeaturesAdvancedUnionFeatures AdvancedFeatures = 2 AdvancedFeaturesOptionalScalars AdvancedFeatures = 4 AdvancedFeaturesDefaultVectorsAndStrings AdvancedFeatures = 8 )
func (AdvancedFeatures) String ¶
func (v AdvancedFeatures) String() string
type BaseType ¶
type BaseType int8
const ( BaseTypeNone BaseType = 0 BaseTypeUType BaseType = 1 BaseTypeBool BaseType = 2 BaseTypeByte BaseType = 3 BaseTypeUByte BaseType = 4 BaseTypeShort BaseType = 5 BaseTypeUShort BaseType = 6 BaseTypeInt BaseType = 7 BaseTypeUInt BaseType = 8 BaseTypeLong BaseType = 9 BaseTypeULong BaseType = 10 BaseTypeFloat BaseType = 11 BaseTypeDouble BaseType = 12 BaseTypeString BaseType = 13 BaseTypeVector BaseType = 14 BaseTypeObj BaseType = 15 BaseTypeUnion BaseType = 16 BaseTypeArray BaseType = 17 BaseTypeVector64 BaseType = 18 BaseTypeMaxBaseType BaseType = 19 )
type Enum ¶
type Enum struct {
// contains filtered or unexported fields
}
func GetRootAsEnum ¶
func GetRootAsEnum(buf []byte, offset flatbuffers.UOffsetT) *Enum
func GetSizePrefixedRootAsEnum ¶
func GetSizePrefixedRootAsEnum(buf []byte, offset flatbuffers.UOffsetT) *Enum
func (*Enum) AttributesLength ¶
func (*Enum) DeclarationFile ¶
/ File that this Enum is declared in.
func (*Enum) Documentation ¶
func (*Enum) DocumentationLength ¶
func (*Enum) LookupByKey ¶
func (*Enum) MutateIsUnion ¶
func (*Enum) Table ¶
func (rcv *Enum) Table() flatbuffers.Table
func (*Enum) UnderlyingType ¶
func (*Enum) ValuesLength ¶
type EnumVal ¶
type EnumVal struct {
// contains filtered or unexported fields
}
func GetRootAsEnumVal ¶
func GetRootAsEnumVal(buf []byte, offset flatbuffers.UOffsetT) *EnumVal
func GetSizePrefixedRootAsEnumVal ¶
func GetSizePrefixedRootAsEnumVal(buf []byte, offset flatbuffers.UOffsetT) *EnumVal
func (*EnumVal) AttributesByKey ¶
func (*EnumVal) AttributesLength ¶
func (*EnumVal) Documentation ¶
func (*EnumVal) DocumentationLength ¶
func (*EnumVal) LookupByKey ¶
func (*EnumVal) MutateValue ¶
func (*EnumVal) Table ¶
func (rcv *EnumVal) Table() flatbuffers.Table
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
func GetRootAsField ¶
func GetRootAsField(buf []byte, offset flatbuffers.UOffsetT) *Field
func GetSizePrefixedRootAsField ¶
func GetSizePrefixedRootAsField(buf []byte, offset flatbuffers.UOffsetT) *Field
func (*Field) AttributesLength ¶
func (*Field) DefaultInteger ¶
func (*Field) DefaultReal ¶
func (*Field) Deprecated ¶
func (*Field) Documentation ¶
func (*Field) DocumentationLength ¶
func (*Field) LookupByKey ¶
func (*Field) MutateDefaultInteger ¶
func (*Field) MutateDefaultReal ¶
func (*Field) MutateDeprecated ¶
func (*Field) MutateOffset ¶
func (*Field) MutateOffset64 ¶
/ If the field uses 64-bit offsets.
func (*Field) MutateOptional ¶
func (*Field) MutatePadding ¶
/ Number of padding octets to always add after this field. Structs only.
func (*Field) MutateRequired ¶
func (*Field) Table ¶
func (rcv *Field) Table() flatbuffers.Table
type KeyValue ¶
type KeyValue struct {
// contains filtered or unexported fields
}
func GetRootAsKeyValue ¶
func GetRootAsKeyValue(buf []byte, offset flatbuffers.UOffsetT) *KeyValue
func GetSizePrefixedRootAsKeyValue ¶
func GetSizePrefixedRootAsKeyValue(buf []byte, offset flatbuffers.UOffsetT) *KeyValue
func (*KeyValue) LookupByKey ¶
func (*KeyValue) Table ¶
func (rcv *KeyValue) Table() flatbuffers.Table
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
func GetRootAsObject ¶
func GetRootAsObject(buf []byte, offset flatbuffers.UOffsetT) *Object
func GetSizePrefixedRootAsObject ¶
func GetSizePrefixedRootAsObject(buf []byte, offset flatbuffers.UOffsetT) *Object
func (*Object) AttributesLength ¶
func (*Object) DeclarationFile ¶
/ File that this Object is declared in.
func (*Object) Documentation ¶
func (*Object) DocumentationLength ¶
func (*Object) FieldsLength ¶
func (*Object) LookupByKey ¶
func (*Object) MutateBytesize ¶
func (*Object) MutateIsStruct ¶
func (*Object) MutateMinalign ¶
func (*Object) Table ¶
func (rcv *Object) Table() flatbuffers.Table
type RPCCall ¶
type RPCCall struct {
// contains filtered or unexported fields
}
func GetRootAsRPCCall ¶
func GetRootAsRPCCall(buf []byte, offset flatbuffers.UOffsetT) *RPCCall
func GetSizePrefixedRootAsRPCCall ¶
func GetSizePrefixedRootAsRPCCall(buf []byte, offset flatbuffers.UOffsetT) *RPCCall
func (*RPCCall) AttributesByKey ¶
func (*RPCCall) AttributesLength ¶
func (*RPCCall) Documentation ¶
func (*RPCCall) DocumentationLength ¶
func (*RPCCall) LookupByKey ¶
func (*RPCCall) Table ¶
func (rcv *RPCCall) Table() flatbuffers.Table
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
func GetRootAsSchema ¶
func GetRootAsSchema(buf []byte, offset flatbuffers.UOffsetT) *Schema
func GetSizePrefixedRootAsSchema ¶
func GetSizePrefixedRootAsSchema(buf []byte, offset flatbuffers.UOffsetT) *Schema
func (*Schema) AdvancedFeatures ¶
func (rcv *Schema) AdvancedFeatures() AdvancedFeatures
func (*Schema) EnumsLength ¶
func (*Schema) FbsFiles ¶
func (rcv *Schema) FbsFiles(obj *SchemaFile, j int) bool
/ All the files used in this compilation. Files are relative to where / flatc was invoked.
func (*Schema) FbsFilesByKey ¶
func (rcv *Schema) FbsFilesByKey(obj *SchemaFile, key string) bool
func (*Schema) FbsFilesLength ¶
func (*Schema) MutateAdvancedFeatures ¶
func (rcv *Schema) MutateAdvancedFeatures(n AdvancedFeatures) bool
func (*Schema) ObjectsLength ¶
func (*Schema) ServicesLength ¶
func (*Schema) Table ¶
func (rcv *Schema) Table() flatbuffers.Table
type SchemaFile ¶
type SchemaFile struct {
// contains filtered or unexported fields
}
/ File specific information. / Symbols declared within a file may be recovered by iterating over all / symbols and examining the `declaration_file` field.
func GetRootAsSchemaFile ¶
func GetRootAsSchemaFile(buf []byte, offset flatbuffers.UOffsetT) *SchemaFile
func GetSizePrefixedRootAsSchemaFile ¶
func GetSizePrefixedRootAsSchemaFile(buf []byte, offset flatbuffers.UOffsetT) *SchemaFile
func (*SchemaFile) Filename ¶
func (rcv *SchemaFile) Filename() []byte
/ Filename, relative to project root.
func (*SchemaFile) IncludedFilenames ¶
func (rcv *SchemaFile) IncludedFilenames(j int) []byte
/ Names of included files, relative to project root.
func (*SchemaFile) IncludedFilenamesLength ¶
func (rcv *SchemaFile) IncludedFilenamesLength() int
func (*SchemaFile) Init ¶
func (rcv *SchemaFile) Init(buf []byte, i flatbuffers.UOffsetT)
func (*SchemaFile) LookupByKey ¶
func (rcv *SchemaFile) LookupByKey(key string, vectorLocation flatbuffers.UOffsetT, buf []byte) bool
func (*SchemaFile) Table ¶
func (rcv *SchemaFile) Table() flatbuffers.Table
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func GetRootAsService ¶
func GetRootAsService(buf []byte, offset flatbuffers.UOffsetT) *Service
func GetSizePrefixedRootAsService ¶
func GetSizePrefixedRootAsService(buf []byte, offset flatbuffers.UOffsetT) *Service
func (*Service) AttributesByKey ¶
func (*Service) AttributesLength ¶
func (*Service) CallsLength ¶
func (*Service) DeclarationFile ¶
/ File that this Service is declared in.
func (*Service) Documentation ¶
func (*Service) DocumentationLength ¶
func (*Service) LookupByKey ¶
func (*Service) Table ¶
func (rcv *Service) Table() flatbuffers.Table
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
func GetRootAsType ¶
func GetRootAsType(buf []byte, offset flatbuffers.UOffsetT) *Type
func GetSizePrefixedRootAsType ¶
func GetSizePrefixedRootAsType(buf []byte, offset flatbuffers.UOffsetT) *Type
func (*Type) ElementSize ¶
/ The size (octets) of the `element` field, if present.
func (*Type) FixedLength ¶
func (*Type) MutateBaseSize ¶
/ The size (octets) of the `base_type` field.
func (*Type) MutateBaseType ¶
func (*Type) MutateElement ¶
func (*Type) MutateElementSize ¶
/ The size (octets) of the `element` field, if present.
func (*Type) MutateFixedLength ¶
func (*Type) MutateIndex ¶
func (*Type) Table ¶
func (rcv *Type) Table() flatbuffers.Table