Package com.google.flatbuffers
Class Struct
- java.lang.Object
-
- com.google.flatbuffers.Struct
-
-
Constructor Summary
Constructors Constructor Description Struct()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
__reset()
Resets internal state with a nullByteBuffer
and a zero position.
-
-
-
Method Detail
-
__reset
public void __reset()
Resets internal state with a nullByteBuffer
and a zero position. This method exists primarily to allow recycling Struct instances without risking memory leaks due toByteBuffer
references. The instance will be unusable until it is assigned again to aByteBuffer
.- Parameters:
struct
- the instance to reset to initial state
-
-