Class 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 null ByteBuffer and a zero position.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Struct

        public Struct()
    • Method Detail

      • __reset

        public void __reset()
        Resets internal state with a null ByteBuffer and a zero position. This method exists primarily to allow recycling Struct instances without risking memory leaks due to ByteBuffer references. The instance will be unusable until it is assigned again to a ByteBuffer.
        Parameters:
        struct - the instance to reset to initial state