boolean |
Input.canReadInt() |
|
boolean |
Input.canReadLong() |
|
boolean |
ByteBufferInput.canReadVarInt() |
|
boolean |
Input.canReadVarInt() |
|
boolean |
ByteBufferInput.canReadVarLong() |
|
boolean |
Input.canReadVarLong() |
|
void |
ByteBufferInput.close() |
|
void |
ByteBufferOutput.close() |
|
void |
Input.close() |
Closes the underlying InputStream, if any.
|
void |
Output.close() |
Flushes any buffered bytes and closes the underlying OutputStream, if any.
|
protected int |
ByteBufferInput.fill(java.nio.ByteBuffer buffer,
int offset,
int count) |
Fills the buffer with more bytes.
|
protected int |
Input.fill(byte[] buffer,
int offset,
int count) |
Fills the buffer with more bytes.
|
protected int |
InputChunked.fill(byte[] buffer,
int offset,
int count) |
|
void |
ByteBufferOutput.flush() |
|
void |
Output.flush() |
Flushes the buffered bytes.
|
void |
OutputChunked.flush() |
|
protected int |
ByteBufferInput.optional(int optional) |
Fills the buffer with at least the number of bytes specified, if possible.
|
protected int |
Input.optional(int optional) |
Fills the buffer with at least the number of bytes specified, if possible.
|
int |
ByteBufferInput.read() |
|
int |
ByteBufferInput.read(byte[] bytes) |
|
int |
ByteBufferInput.read(byte[] bytes,
int offset,
int count) |
|
int |
Input.read() |
Reads a single byte as an int from 0 to 255, or -1 if there are no more bytes are available.
|
int |
Input.read(byte[] bytes) |
Reads bytes.length bytes or less and writes them to the specified byte[], starting at 0, and returns the number of bytes
read.
|
int |
Input.read(byte[] bytes,
int offset,
int count) |
Reads count bytes or less and writes them to the specified byte[], starting at offset, and returns the number of bytes read
or -1 if no more bytes are available.
|
boolean |
ByteBufferInput.readBoolean() |
|
boolean |
Input.readBoolean() |
Reads a 1 byte boolean.
|
boolean[] |
ByteBufferInput.readBooleans(int length) |
|
boolean[] |
Input.readBooleans(int length) |
Reads a boolean array in bulk.
|
byte |
ByteBufferInput.readByte() |
|
byte |
Input.readByte() |
Reads a single byte.
|
void |
ByteBufferInput.readBytes(byte[] bytes,
int offset,
int count) |
|
byte[] |
ByteBufferInput.readBytes(int length) |
|
void |
Input.readBytes(byte[] bytes) |
Reads bytes.length bytes and writes them to the specified byte[], starting at index 0.
|
void |
Input.readBytes(byte[] bytes,
int offset,
int count) |
Reads count bytes and writes them to the specified byte[], starting at offset.
|
byte[] |
Input.readBytes(int length) |
Reads the specified number of bytes into a new byte[].
|
int |
ByteBufferInput.readByteUnsigned() |
|
int |
Input.readByteUnsigned() |
Reads a byte as an int from 0 to 255.
|
char |
ByteBufferInput.readChar() |
|
char |
Input.readChar() |
Reads a 2 byte char.
|
char[] |
ByteBufferInput.readChars(int length) |
|
char[] |
Input.readChars(int length) |
Reads a char array in bulk.
|
double |
ByteBufferInput.readDouble() |
|
double |
Input.readDouble() |
Reads an 8 byte double.
|
double[] |
ByteBufferInput.readDoubles(int length) |
|
double[] |
Input.readDoubles(int length) |
Reads a double array in bulk.
|
float |
ByteBufferInput.readFloat() |
|
float |
Input.readFloat() |
Reads a 4 byte float.
|
float[] |
ByteBufferInput.readFloats(int length) |
|
float[] |
Input.readFloats(int length) |
Reads a float array in bulk.
|
int |
ByteBufferInput.readInt() |
|
int |
Input.readInt() |
Reads a 4 byte int.
|
int |
Input.readInt(boolean optimizePositive) |
|
int[] |
ByteBufferInput.readInts(int length) |
|
int[] |
Input.readInts(int length) |
Reads an int array in bulk.
|
int[] |
Input.readInts(int length,
boolean optimizePositive) |
|
long |
ByteBufferInput.readLong() |
|
long |
Input.readLong() |
Reads an 8 byte long.
|
long |
Input.readLong(boolean optimizePositive) |
|
long[] |
ByteBufferInput.readLongs(int length) |
|
long[] |
Input.readLongs(int length) |
Reads a long array in bulk.
|
long[] |
Input.readLongs(int length,
boolean optimizePositive) |
|
short |
ByteBufferInput.readShort() |
|
short |
Input.readShort() |
Reads a 2 byte short.
|
short[] |
ByteBufferInput.readShorts(int length) |
|
short[] |
Input.readShorts(int length) |
Reads a short array in bulk.
|
int |
ByteBufferInput.readShortUnsigned() |
|
int |
Input.readShortUnsigned() |
Reads a 2 byte short as an int from 0 to 65535.
|
double |
Input.readVarDouble(double precision,
boolean optimizePositive) |
Reads a 1-9 byte double with reduced precision.
|
float |
Input.readVarFloat(float precision,
boolean optimizePositive) |
Reads a 1-5 byte float with reduced precision.
|
int |
ByteBufferInput.readVarInt(boolean optimizePositive) |
|
int |
Input.readVarInt(boolean optimizePositive) |
Reads a 1-5 byte int.
|
long |
ByteBufferInput.readVarLong(boolean optimizePositive) |
|
long |
Input.readVarLong(boolean optimizePositive) |
Reads a 1-9 byte long.
|
protected int |
ByteBufferInput.require(int required) |
|
protected boolean |
ByteBufferOutput.require(int required) |
|
protected int |
Input.require(int required) |
Fills the buffer with at least the number of bytes specified.
|
protected boolean |
Output.require(int required) |
Ensures the buffer is large enough to read the specified number of bytes.
|
void |
ByteBufferInput.skip(int count) |
|
long |
ByteBufferInput.skip(long count) |
|
void |
Input.skip(int count) |
Discards the specified number of bytes.
|
long |
Input.skip(long count) |
Discards the specified number of bytes.
|
void |
ByteBufferOutput.write(byte[] bytes) |
|
void |
ByteBufferOutput.write(byte[] bytes,
int offset,
int length) |
|
void |
ByteBufferOutput.write(int value) |
|
void |
Output.write(byte[] bytes) |
Writes the bytes.
|
void |
Output.write(byte[] bytes,
int offset,
int length) |
Writes the bytes.
|
void |
Output.write(int value) |
Writes a byte.
|
void |
ByteBufferOutput.writeAscii(java.lang.String value) |
|
void |
Output.writeAscii(java.lang.String value) |
Writes a string that is known to contain only ASCII characters.
|
void |
ByteBufferOutput.writeBoolean(boolean value) |
|
void |
Output.writeBoolean(boolean value) |
Writes a 1 byte boolean.
|
void |
ByteBufferOutput.writeBooleans(boolean[] array,
int offset,
int count) |
|
void |
Output.writeBooleans(boolean[] array,
int offset,
int count) |
Writes a boolean array in bulk.
|
void |
ByteBufferOutput.writeByte(byte value) |
|
void |
ByteBufferOutput.writeByte(int value) |
|
void |
Output.writeByte(byte value) |
|
void |
Output.writeByte(int value) |
|
void |
ByteBufferOutput.writeBytes(byte[] bytes) |
|
void |
ByteBufferOutput.writeBytes(byte[] bytes,
int offset,
int count) |
|
void |
Output.writeBytes(byte[] bytes) |
Writes the bytes.
|
void |
Output.writeBytes(byte[] bytes,
int offset,
int count) |
Writes the bytes.
|
void |
ByteBufferOutput.writeChar(char value) |
|
void |
Output.writeChar(char value) |
Writes a 2 byte char.
|
void |
ByteBufferOutput.writeChars(char[] array,
int offset,
int count) |
|
void |
Output.writeChars(char[] array,
int offset,
int count) |
Writes a char array in bulk.
|
void |
ByteBufferOutput.writeDouble(double value) |
|
void |
Output.writeDouble(double value) |
Writes an 8 byte double.
|
void |
ByteBufferOutput.writeDoubles(double[] array,
int offset,
int count) |
|
void |
Output.writeDoubles(double[] array,
int offset,
int count) |
Writes a double array in bulk.
|
void |
ByteBufferOutput.writeFloat(float value) |
|
void |
Output.writeFloat(float value) |
Writes a 4 byte float.
|
void |
ByteBufferOutput.writeFloats(float[] array,
int offset,
int count) |
|
void |
Output.writeFloats(float[] array,
int offset,
int count) |
Writes a float array in bulk.
|
void |
ByteBufferOutput.writeInt(int value) |
|
void |
Output.writeInt(int value) |
Writes a 4 byte int.
|
int |
Output.writeInt(int value,
boolean optimizePositive) |
|
void |
ByteBufferOutput.writeInts(int[] array,
int offset,
int count) |
|
void |
Output.writeInts(int[] array,
int offset,
int count) |
Writes an int array in bulk.
|
void |
Output.writeInts(int[] array,
int offset,
int count,
boolean optimizePositive) |
|
void |
ByteBufferOutput.writeLong(long value) |
|
void |
Output.writeLong(long value) |
Writes an 8 byte long.
|
int |
Output.writeLong(long value,
boolean optimizePositive) |
|
void |
ByteBufferOutput.writeLongs(long[] array,
int offset,
int count) |
|
void |
Output.writeLongs(long[] array,
int offset,
int count) |
Writes a long array in bulk.
|
void |
Output.writeLongs(long[] array,
int offset,
int count,
boolean optimizePositive) |
|
void |
ByteBufferOutput.writeShort(int value) |
|
void |
Output.writeShort(int value) |
Writes a 2 byte short.
|
void |
ByteBufferOutput.writeShorts(short[] array,
int offset,
int count) |
|
void |
Output.writeShorts(short[] array,
int offset,
int count) |
Writes a short array in bulk.
|
void |
ByteBufferOutput.writeString(java.lang.String value) |
|
void |
Output.writeString(java.lang.String value) |
Writes the length and string, or null.
|
int |
Output.writeVarDouble(double value,
double precision,
boolean optimizePositive) |
Writes a 1-9 byte double with reduced precision.
|
int |
Output.writeVarFloat(float value,
float precision,
boolean optimizePositive) |
Writes a 1-5 byte float with reduced precision.
|
int |
ByteBufferOutput.writeVarInt(int value,
boolean optimizePositive) |
|
int |
Output.writeVarInt(int value,
boolean optimizePositive) |
Writes a 1-5 byte int.
|
int |
ByteBufferOutput.writeVarIntFlag(boolean flag,
int value,
boolean optimizePositive) |
|
int |
Output.writeVarIntFlag(boolean flag,
int value,
boolean optimizePositive) |
Writes a 1-5 byte int, encoding the boolean value with a bit flag.
|
int |
ByteBufferOutput.writeVarLong(long value,
boolean optimizePositive) |
|
int |
Output.writeVarLong(long value,
boolean optimizePositive) |
Writes a 1-9 byte long.
|