public final class DynamicByteBuffer extends Object
Constructor and Description |
---|
DynamicByteBuffer(byte[] array) |
DynamicByteBuffer(byte[] array,
int offset,
int length) |
DynamicByteBuffer(ByteBuffer buffer) |
DynamicByteBuffer(int cap,
boolean useDirectBuffer) |
public DynamicByteBuffer(int cap, boolean useDirectBuffer)
public DynamicByteBuffer(byte[] array)
public DynamicByteBuffer(byte[] array, int offset, int length)
public DynamicByteBuffer(ByteBuffer buffer)
public DynamicByteBuffer compact()
public byte get()
public byte get(int index)
public DynamicByteBuffer get(byte[] dst)
public DynamicByteBuffer get(byte[] dst, int offset, int length)
public char getChar()
public char getChar(int index)
public double getDouble()
public double getDouble(int index)
public float getFloat()
public float getFloat(int index)
public int getInt()
public int getInt(int index)
public long getLong()
public long getLong(int index)
public short getShort()
public short getShort(int index)
public DynamicByteBuffer put(byte b)
public DynamicByteBuffer put(int index, byte b)
public DynamicByteBuffer put(byte[] src)
public DynamicByteBuffer put(byte[] src, int offset, int length)
public DynamicByteBuffer put(ByteBuffer src)
public DynamicByteBuffer putChar(int index, char value)
public DynamicByteBuffer putChar(char value)
public DynamicByteBuffer putDouble(int index, double value)
public DynamicByteBuffer putDouble(double value)
public DynamicByteBuffer putFloat(int index, float value)
public DynamicByteBuffer putFloat(float value)
public DynamicByteBuffer putInt(int index, int value)
public DynamicByteBuffer putInt(int value)
public DynamicByteBuffer putLong(int index, long value)
public DynamicByteBuffer putLong(long value)
public DynamicByteBuffer putShort(int index, short value)
public DynamicByteBuffer putShort(short value)
public DynamicByteBuffer duplicate()
public DynamicByteBuffer slice()
public void clear()
public void flip()
public int limit()
public Buffer limit(int newLimit)
public Buffer mark()
public int position()
public Buffer position(int newPosition)
public int remaining()
public Buffer reset()
public Buffer rewind()
public int capacity()
public boolean hasRemaining()
public byte[] array()
public ByteOrder order()
public ByteBuffer order(ByteOrder order)
public void close()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.