Class Type
java.lang.Object
com.google.flatbuffers.Table
com.google.flatbuffers.reflection.Type
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static voidaddBaseSize(FlatBufferBuilder builder, long baseSize) static voidaddBaseType(FlatBufferBuilder builder, byte baseType) static voidaddElement(FlatBufferBuilder builder, byte element) static voidaddElementSize(FlatBufferBuilder builder, long elementSize) static voidaddFixedLength(FlatBufferBuilder builder, int fixedLength) static voidaddIndex(FlatBufferBuilder builder, int index) longbaseSize()The size (octets) of the `base_type` field.bytebaseType()static intcreateType(FlatBufferBuilder builder, byte baseType, byte element, int index, int fixedLength, long baseSize, long elementSize) byteelement()longThe size (octets) of the `element` field, if present.static intendType(FlatBufferBuilder builder) intstatic TypegetRootAsType(ByteBuffer _bb) static TypegetRootAsType(ByteBuffer _bb, Type obj) intindex()static voidstartType(FlatBufferBuilder builder) static voidMethods inherited from class com.google.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
-
Constructor Details
-
Type
public Type()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsType
-
getRootAsType
-
__init
-
__assign
-
baseType
public byte baseType() -
element
public byte element() -
index
public int index() -
fixedLength
public int fixedLength() -
baseSize
public long baseSize()The size (octets) of the `base_type` field. -
elementSize
public long elementSize()The size (octets) of the `element` field, if present. -
createType
public static int createType(FlatBufferBuilder builder, byte baseType, byte element, int index, int fixedLength, long baseSize, long elementSize) -
startType
-
addBaseType
-
addElement
-
addIndex
-
addFixedLength
-
addBaseSize
-
addElementSize
-
endType
-