static AionBuffer |
AionBuffer.allocate(int capacity) |
Creates a new AionBuffer instance with the given capacity.
|
AionBuffer |
AionBuffer.clear() |
Resets the position to 0 and the limit to the full capacity of the buffer.
|
AionBuffer |
AionBuffer.flip() |
Sets the limit to the current position and resets the position to 0.
|
AionBuffer |
AionBuffer.get(byte[] dst) |
Populates the given dst buffer with the next bytes in the buffer and advances the position.
|
AionBuffer |
AionBuffer.put(byte[] src) |
Copies the bytes from src into the buffer and advances the position.
|
AionBuffer |
AionBuffer.put32ByteInt(java.math.BigInteger value) |
Stores a 32-byte signed BigInteger into the buffer and advances the position.
|
AionBuffer |
AionBuffer.putAddress(Address value) |
Stores an Aion address into the buffer and advances the position.
|
AionBuffer |
AionBuffer.putBoolean(boolean flag) |
Stores a boolean into the buffer and advances the position.
|
AionBuffer |
AionBuffer.putByte(byte b) |
Stores a byte into the buffer and advances the position.
|
AionBuffer |
AionBuffer.putChar(char value) |
Stores a char into the buffer and advances the position.
|
AionBuffer |
AionBuffer.putDouble(double value) |
Stores a double into the buffer and advances the position.
|
AionBuffer |
AionBuffer.putFloat(float value) |
Stores a float into the buffer and advances the position.
|
AionBuffer |
AionBuffer.putInt(int value) |
Stores a int into the buffer and advances the position.
|
AionBuffer |
AionBuffer.putLong(long value) |
Stores a long into the buffer and advances the position.
|
AionBuffer |
AionBuffer.putShort(short value) |
Stores a short into the buffer and advances the position.
|
AionBuffer |
AionBuffer.rewind() |
Sets the position back to 0.
|
static AionBuffer |
AionBuffer.wrap(byte[] array) |
Creates a new AionBuffer instance wrapping the given byte array.
|