Interface MutableMemBuffer

    • Method Detail

      • advance

        void advance​(int displacement)
              throws AddressOverflowException
        Advance the Address pointer.
        Parameters:
        displacement - the amount to adjust the pointer by.
        Throws:
        AddressOverflowException - if displacement would cause the buffer position to wrap.
      • setPosition

        void setPosition​(Address addr)
        Sets the Address to which offset of 0 points to.
        Parameters:
        addr - the new base Address.
      • clone

        MutableMemBuffer clone()
        Create a cloned copy of this MutableMemBuffer
        Returns:
        new cloned instance of this buffer object