WriteBuffer |
WriteBuffer.clear() |
Clear the buffer after use.
|
WriteBuffer |
WriteBuffer.get(byte[] dst) |
Copy the data into the destination array.
|
WriteBuffer |
WriteBuffer.limit(int newLimit) |
Set the limit, possibly growing the buffer.
|
WriteBuffer |
WriteBuffer.position(int newPosition) |
Set the position.
|
WriteBuffer |
WriteBuffer.put(byte x) |
Put a byte.
|
WriteBuffer |
WriteBuffer.put(byte[] bytes) |
Put a byte array.
|
WriteBuffer |
WriteBuffer.put(byte[] bytes,
int offset,
int length) |
Put a byte array.
|
WriteBuffer |
WriteBuffer.put(ByteBuffer src) |
Put the contents of a byte buffer.
|
WriteBuffer |
WriteBuffer.putChar(char x) |
Put a character.
|
WriteBuffer |
WriteBuffer.putDouble(double x) |
Put a double.
|
WriteBuffer |
WriteBuffer.putFloat(float x) |
Put a float.
|
WriteBuffer |
WriteBuffer.putInt(int x) |
Put an integer.
|
WriteBuffer |
WriteBuffer.putInt(int index,
int value) |
Update an integer at the given index.
|
WriteBuffer |
WriteBuffer.putLong(long x) |
Put a long.
|
WriteBuffer |
WriteBuffer.putShort(int index,
short value) |
Update a short at the given index.
|
WriteBuffer |
WriteBuffer.putShort(short x) |
Put a short.
|
WriteBuffer |
WriteBuffer.putStringData(String s,
int len) |
Write the characters of a string in a format similar to UTF-8.
|
WriteBuffer |
WriteBuffer.putVarInt(int x) |
Write a variable size integer.
|
WriteBuffer |
WriteBuffer.putVarLong(long x) |
Write a variable size long.
|