2015/07/26 - Apache DirectMemory has been retired.

For more information, please explore the Attic.

public interface

ReadableMemoryBuffer

org.apache.directmemory.memory.buffer.ReadableMemoryBuffer
Known Indirect Subclasses

Summary

Public Methods
abstract boolean readBoolean()
abstract int readBuffer(ByteBuffer byteBuffer)
abstract long readBuffer(WritableMemoryBuffer memoryBuffer, long offset, long length)
abstract long readBuffer(WritableMemoryBuffer memoryBuffer)
abstract int readBuffer(ByteBuffer byteBuffer, int offset, int length)
abstract byte readByte()
abstract int readBytes(byte[] bytes, int offset, int length)
abstract int readBytes(byte[] bytes)
abstract char readChar()
abstract int readCompressedInt()
abstract long readCompressedLong()
abstract double readDouble()
abstract float readFloat()
abstract int readInt()
abstract long readLong()
abstract short readShort()
abstract String readString()
abstract short readUnsignedByte()
abstract boolean readable()
abstract long readableBytes()
abstract void readerIndex(long readerIndex)
abstract long readerIndex()

Public Methods

public abstract boolean readBoolean ()

public abstract int readBuffer (ByteBuffer byteBuffer)

public abstract long readBuffer (WritableMemoryBuffer memoryBuffer, long offset, long length)

public abstract long readBuffer (WritableMemoryBuffer memoryBuffer)

public abstract int readBuffer (ByteBuffer byteBuffer, int offset, int length)

public abstract byte readByte ()

public abstract int readBytes (byte[] bytes, int offset, int length)

public abstract int readBytes (byte[] bytes)

public abstract char readChar ()

public abstract int readCompressedInt ()

public abstract long readCompressedLong ()

public abstract double readDouble ()

public abstract float readFloat ()

public abstract int readInt ()

public abstract long readLong ()

public abstract short readShort ()

public abstract String readString ()

public abstract short readUnsignedByte ()

public abstract boolean readable ()

public abstract long readableBytes ()

public abstract void readerIndex (long readerIndex)

public abstract long readerIndex ()