Class ByteBufferReadBuffer.ByteBufferInput

java.lang.Object
java.io.InputStream
com.tangosol.io.AbstractReadBuffer.AbstractBufferInput
com.tangosol.io.nio.ByteBufferReadBuffer.ByteBufferInput
All Implemented Interfaces:
com.oracle.coherence.common.io.InputStreaming, InputStreaming, ReadBuffer.BufferInput, Closeable, DataInput, AutoCloseable
Enclosing class:
ByteBufferReadBuffer

public final class ByteBufferReadBuffer.ByteBufferInput extends AbstractReadBuffer.AbstractBufferInput implements ReadBuffer.BufferInput
This is a simple implementation of the BufferInput interface on top of a ByteBuffer.
Author:
cp 2006.04.06
  • Field Details

    • m_buf

      protected ByteBuffer m_buf
      The ByteBuffer object from which data is read.
  • Constructor Details

    • ByteBufferInput

      public ByteBufferInput(ByteBuffer buf)
      Default constructor.
      Parameters:
      buf - the NIO ByteBuffer that this BufferInput is backed by
  • Method Details