Package com.google.flatbuffers
Class Table
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- Direct Known Subclasses:
BlendShape
,DataBool
,DataBytes
,DataFloat
,DataHashValue
,DataInt
,DataQuat
,DataString
,DataVec2
,DataVec3
,DataVec4
,KeyVariantPairDef
,MaterialDef
,MaterialTextureDef
,ModelDef
,ModelInstanceDef
,ModelPipelineCollidableDef
,ModelPipelineDef
,ModelPipelineImportDef
,ModelPipelineMaterialDef
,ModelPipelineRenderableDef
,ModelPipelineSkeletonDef
,SkeletonDef
,SubmeshAabb
,TextureDef
,VariantArrayDef
,VariantArrayDefImpl
,VariantMapDef
public class Table extends java.lang.Object
All tables in the generated code derive from this class, and add their own accessors.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.ThreadLocal<java.nio.charset.Charset>
UTF8_CHARSET
-
Constructor Summary
Constructors Constructor Description Table()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
__reset()
Resets the internal state with a nullByteBuffer
and a zero position.java.nio.ByteBuffer
getByteBuffer()
Get the underlying ByteBuffer.
-
-
-
Method Detail
-
getByteBuffer
public java.nio.ByteBuffer getByteBuffer()
Get the underlying ByteBuffer.- Returns:
- Returns the Table's ByteBuffer.
-
__reset
public void __reset()
Resets the internal state with a nullByteBuffer
and a zero position. This method exists primarily to allow recycling Table instances without risking memory leaks due toByteBuffer
references. The instance will be unusable until it is assigned again to aByteBuffer
.
-
-