Class Type
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- com.google.flatbuffers.reflection.Type
-
public final class Type extends Table
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classType.Vector
-
Constructor Summary
Constructors Constructor Description Type()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Type__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()longelementSize()The size (octets) of the `element` field, if present.static intendType(FlatBufferBuilder builder)intfixedLength()static TypegetRootAsType(ByteBuffer _bb)static TypegetRootAsType(ByteBuffer _bb, Type obj)intindex()static voidstartType(FlatBufferBuilder builder)static voidValidateVersion()-
Methods 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
-
-
-
-
Method Detail
-
ValidateVersion
public static void ValidateVersion()
-
getRootAsType
public static Type getRootAsType(ByteBuffer _bb)
-
getRootAsType
public static Type getRootAsType(ByteBuffer _bb, Type obj)
-
__init
public void __init(int _i, ByteBuffer _bb)
-
__assign
public Type __assign(int _i, ByteBuffer _bb)
-
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
public static void startType(FlatBufferBuilder builder)
-
addBaseType
public static void addBaseType(FlatBufferBuilder builder, byte baseType)
-
addElement
public static void addElement(FlatBufferBuilder builder, byte element)
-
addIndex
public static void addIndex(FlatBufferBuilder builder, int index)
-
addFixedLength
public static void addFixedLength(FlatBufferBuilder builder, int fixedLength)
-
addBaseSize
public static void addBaseSize(FlatBufferBuilder builder, long baseSize)
-
addElementSize
public static void addElementSize(FlatBufferBuilder builder, long elementSize)
-
endType
public static int endType(FlatBufferBuilder builder)
-
-