public final class QpidByteBuffer extends Object
public boolean hasRemaining()
public QpidByteBuffer putInt(int index, int value)
public boolean isDirect()
public QpidByteBuffer putShort(int index, short value)
public QpidByteBuffer putChar(int index, char value)
public QpidByteBuffer put(byte b)
public QpidByteBuffer put(int index, byte b)
public short getShort(int index)
public QpidByteBuffer mark()
public long getLong()
public QpidByteBuffer putFloat(int index, float value)
public double getDouble(int index)
public boolean hasArray()
public QpidByteBuffer asReadOnlyBuffer()
public double getDouble()
public QpidByteBuffer putFloat(float value)
public QpidByteBuffer putInt(int value)
public byte[] array()
public QpidByteBuffer putShort(short value)
public int getInt(int index)
public int remaining()
public QpidByteBuffer put(byte[] src)
public QpidByteBuffer put(ByteBuffer src)
public QpidByteBuffer put(QpidByteBuffer src)
public QpidByteBuffer get(byte[] dst, int offset, int length)
public QpidByteBuffer get(ByteBuffer dst)
public void copyTo(ByteBuffer dst)
public void putCopyOf(QpidByteBuffer buf)
public QpidByteBuffer rewind()
public QpidByteBuffer clear()
public QpidByteBuffer putLong(int index, long value)
public QpidByteBuffer compact()
public QpidByteBuffer putDouble(double value)
public int limit()
public QpidByteBuffer reset()
public QpidByteBuffer flip()
public short getShort()
public float getFloat()
public QpidByteBuffer limit(int newLimit)
public QpidByteBuffer duplicate()
public QpidByteBuffer put(byte[] src, int offset, int length)
public long getLong(int index)
public int capacity()
public boolean isReadOnly()
public char getChar(int index)
public byte get()
public byte get(int index)
public QpidByteBuffer get(byte[] dst)
public void copyTo(byte[] dst)
public QpidByteBuffer putChar(char value)
public QpidByteBuffer position(int newPosition)
public int arrayOffset()
public char getChar()
public int getInt()
public QpidByteBuffer putLong(long value)
public float getFloat(int index)
public QpidByteBuffer slice()
public QpidByteBuffer view(int offset, int length)
public int position()
public QpidByteBuffer putDouble(int index, double value)
public void dispose()
public InputStream asInputStream()
public MarkableDataInput asDataInput()
public DataOutput asDataOutput()
public static QpidByteBuffer allocate(int size)
public static QpidByteBuffer allocateDirect(int size)
public static Collection<QpidByteBuffer> allocateDirectCollection(int size)
public ByteBuffer asByteBuffer()
public CharBuffer decode(Charset charset)
public int read(ReadableByteChannel channel) throws IOException
IOException
public SSLEngineResult decryptSSL(SSLEngine engine, QpidByteBuffer dest) throws SSLException
SSLException
public static SSLEngineResult encryptSSL(SSLEngine engine, Collection<QpidByteBuffer> buffers, QpidByteBuffer dest) throws SSLException
SSLException
public static Collection<QpidByteBuffer> inflate(Collection<QpidByteBuffer> compressedBuffers) throws IOException
IOException
public static Collection<QpidByteBuffer> deflate(Collection<QpidByteBuffer> uncompressedBuffers) throws IOException
IOException
public static long write(GatheringByteChannel channel, Collection<QpidByteBuffer> buffers) throws IOException
IOException
public static QpidByteBuffer wrap(ByteBuffer wrap)
public static QpidByteBuffer wrap(byte[] data)
public static QpidByteBuffer wrap(byte[] data, int offset, int length)
public static void initialisePool(int bufferSize, int maxPoolSize)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.