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 nullByteBufferand a zero position.
-
-
-
Method Detail
-
__reset
public void __reset()
Resets internal state with a nullByteBufferand a zero position. This method exists primarily to allow recycling Struct instances without risking memory leaks due toByteBufferreferences. The instance will be unusable until it is assigned again to aByteBuffer.- Parameters:
struct- the instance to reset to initial state
-
-