Class ExternalizableHelper.DecoratedMultiBufferReadBuffer

java.lang.Object
com.tangosol.util.Base
com.tangosol.io.AbstractReadBuffer
com.tangosol.io.MultiBufferReadBuffer
com.tangosol.util.ExternalizableHelper.DecoratedMultiBufferReadBuffer
All Implemented Interfaces:
ReadBuffer, ByteSequence, HashEncoded, Cloneable
Enclosing class:
ExternalizableHelper

public static class ExternalizableHelper.DecoratedMultiBufferReadBuffer extends MultiBufferReadBuffer
DecoratedMultiBufferReadBuffer is a MultiBufferWriteBuffer that represents a binary "decorated" value, and allows a more optimized ExternalizableHelper.getUndecorated(ReadBuffer) operation.
See Also:
  • Field Details

    • m_bufValue

      protected final ReadBuffer m_bufValue
      The undecorated value.
  • Constructor Details

    • DecoratedMultiBufferReadBuffer

      public DecoratedMultiBufferReadBuffer(ReadBuffer bufValue, ReadBuffer[] abuf)
      Construct a DecoratedMultiBufferReadBuffer for the specified value.
      Parameters:
      bufValue - the undecorated value
      abuf - the array of ReadBuffers from which to construct this DecoratedMultiBufferReadBuffer
  • Method Details

    • getUndecorated

      public ReadBuffer getUndecorated()
      Return the undecorated value.
      Returns:
      the undecorated value