Uses of Class
com.esotericsoftware.kryo.KryoException
Packages that use KryoException
-
Uses of KryoException in com.esotericsoftware.kryo.io
Methods in com.esotericsoftware.kryo.io that throw KryoExceptionModifier and TypeMethodDescriptionbooleanByteBufferInput.canReadInt()Returns true if enough bytes are available to read an int withByteBufferInput.readInt(boolean).booleanInput.canReadInt()Returns true if enough bytes are available to read an int withInput.readInt(boolean).booleanByteBufferInput.canReadLong()Returns true if enough bytes are available to read a long withByteBufferInput.readLong(boolean).booleanInput.canReadLong()Returns true if enough bytes are available to read a long withInput.readLong(boolean).voidByteBufferInput.close()Closes the underlying InputStream, if any.voidByteBufferOutput.close()Flushes any buffered bytes and closes the underlying OutputStream, if any.voidInput.close()Closes the underlying InputStream, if any.voidOutput.close()Flushes any buffered bytes and closes the underlying OutputStream, if any.protected intByteBufferInput.fill(ByteBuffer buffer, int offset, int count) Fills the buffer with more bytes.protected intInput.fill(byte[] buffer, int offset, int count) Fills the buffer with more bytes.protected intInputChunked.fill(byte[] buffer, int offset, int count) voidByteBufferOutput.flush()Writes the buffered bytes to the underlying OutputStream, if any.voidOutput.flush()Writes the buffered bytes to the underlying OutputStream, if any.voidOutputChunked.flush()private intByteBufferInput.optional(int optional) private intInput.optional(int optional) intByteBufferInput.read()Reads a single byte as an int from 0 to 255, or -1 if there are no more bytes are available.intByteBufferInput.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.intByteBufferInput.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.intInput.read()Reads a single byte as an int from 0 to 255, or -1 if there are no more bytes are available.intInput.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.intInput.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.booleanByteBufferInput.readBoolean()Reads a 1 byte boolean.booleanInput.readBoolean()Reads a 1 byte boolean.byteByteBufferInput.readByte()Reads a single byte.byteInput.readByte()Reads a single byte.voidByteBufferInput.readBytes(byte[] bytes) Reads bytes.length bytes and writes them to the specified byte[], starting at index 0.voidByteBufferInput.readBytes(byte[] bytes, int offset, int count) Reads count bytes and writes them to the specified byte[], starting at offset.byte[]ByteBufferInput.readBytes(int length) Reads the specified number of bytes into a new byte[].voidInput.readBytes(byte[] bytes) Reads bytes.length bytes and writes them to the specified byte[], starting at index 0.voidInput.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[].intByteBufferInput.readByteUnsigned()Reads a byte as an int from 0 to 255.intInput.readByteUnsigned()Reads a byte as an int from 0 to 255.charByteBufferInput.readChar()Reads a 2 byte char.charInput.readChar()Reads a 2 byte char.char[]ByteBufferInput.readChars(int length) Bulk input of a char array.char[]Input.readChars(int length) Bulk input of a char array.doubleByteBufferInput.readDouble()Reads an 8 bytes double.doubleByteBufferInput.readDouble(double precision, boolean optimizePositive) Reads a 1-9 byte double with reduced precision.doubleInput.readDouble()Reads an 8 bytes double.doubleInput.readDouble(double precision, boolean optimizePositive) Reads a 1-9 byte double with reduced precision.double[]ByteBufferInput.readDoubles(int length) Bulk input of a double array.double[]Input.readDoubles(int length) Bulk input of a double array.floatByteBufferInput.readFloat()Reads a 4 byte float.floatByteBufferInput.readFloat(float precision, boolean optimizePositive) Reads a 1-5 byte float with reduced precision.floatInput.readFloat()Reads a 4 byte float.floatInput.readFloat(float precision, boolean optimizePositive) Reads a 1-5 byte float with reduced precision.float[]ByteBufferInput.readFloats(int length) Bulk input of a float array.float[]Input.readFloats(int length) Bulk input of a float array.intByteBufferInput.readInt()intByteBufferInput.readInt(boolean optimizePositive) intInput.readInt()Reads a 4 byte int.intInput.readInt(boolean optimizePositive) Reads a 1-5 byte int.int[]ByteBufferInput.readInts(int length) Bulk input of an int array.int[]Input.readInts(int length) Bulk input of an int array.int[]Input.readInts(int length, boolean optimizePositive) Bulk input of an int array.longByteBufferInput.readLong()Reads an 8 byte long.longByteBufferInput.readLong(boolean optimizePositive) Reads a 1-9 byte long.longInput.readLong()Reads an 8 byte long.longInput.readLong(boolean optimizePositive) Reads a 1-9 byte long.long[]ByteBufferInput.readLongs(int length) Bulk input of a long array.long[]Input.readLongs(int length) Bulk input of a long array.long[]Input.readLongs(int length, boolean optimizePositive) Bulk input of a long array.shortByteBufferInput.readShort()Reads a 2 byte short.shortInput.readShort()Reads a 2 byte short.short[]ByteBufferInput.readShorts(int length) Bulk input of a short array.short[]Input.readShorts(int length) Bulk input of a short array.intByteBufferInput.readShortUnsigned()Reads a 2 byte short as an int from 0 to 65535.intInput.readShortUnsigned()Reads a 2 byte short as an int from 0 to 65535.intByteBufferInput.readVarInt(boolean optimizePositive) intInput.readVarInt(boolean optimizePositive) Reads a 1-5 byte int.longByteBufferInput.readVarLong(boolean optimizePositive) Reads a 1-9 byte long.longInput.readVarLong(boolean optimizePositive) Reads a 1-9 byte long.protected final intByteBufferInput.require(int required) protected booleanByteBufferOutput.require(int required) protected intInput.require(int required) protected booleanOutput.require(int required) voidByteBufferInput.skip(int count) longByteBufferInput.skip(long count) Discards the specified number of bytes.voidInput.skip(int count) Discards the specified number of bytes.longInput.skip(long count) Discards the specified number of bytes.voidByteBufferOutput.write(byte[] bytes) Writes the bytes.voidByteBufferOutput.write(byte[] bytes, int offset, int length) Writes the bytes.voidByteBufferOutput.write(int value) Writes a byte.voidOutput.write(byte[] bytes) Writes the bytes.voidOutput.write(byte[] bytes, int offset, int length) Writes the bytes.voidOutput.write(int value) Writes a byte.voidByteBufferOutput.writeAscii(String value) Writes a string that is known to contain only ASCII characters.voidOutput.writeAscii(String value) Writes a string that is known to contain only ASCII characters.private voidByteBufferOutput.writeAscii_slow(String value, int charCount) private voidOutput.writeAscii_slow(String value, int charCount) voidByteBufferOutput.writeBoolean(boolean value) Writes a 1 byte boolean.voidOutput.writeBoolean(boolean value) Writes a 1 byte boolean.voidByteBufferOutput.writeByte(byte value) voidByteBufferOutput.writeByte(int value) voidOutput.writeByte(byte value) voidOutput.writeByte(int value) voidByteBufferOutput.writeBytes(byte[] bytes) Writes the bytes.voidByteBufferOutput.writeBytes(byte[] bytes, int offset, int count) Writes the bytes.voidOutput.writeBytes(byte[] bytes) Writes the bytes.voidOutput.writeBytes(byte[] bytes, int offset, int count) Writes the bytes.voidByteBufferOutput.writeChar(char value) Writes a 2 byte char.voidOutput.writeChar(char value) Writes a 2 byte char.voidByteBufferOutput.writeChars(char[] object) Bulk output of a char array.voidOutput.writeChars(char[] object) Bulk output of a char array.voidByteBufferOutput.writeDouble(double value) Writes an 8 byte double.intByteBufferOutput.writeDouble(double value, double precision, boolean optimizePositive) Writes a 1-9 byte double with reduced precision.voidOutput.writeDouble(double value) Writes an 8 byte double.intOutput.writeDouble(double value, double precision, boolean optimizePositive) Writes a 1-9 byte double with reduced precision.voidByteBufferOutput.writeDoubles(double[] object) Bulk output of a double array.voidOutput.writeDoubles(double[] object) Bulk output of a double array.voidByteBufferOutput.writeFloat(float value) Writes a 4 byte float.intByteBufferOutput.writeFloat(float value, float precision, boolean optimizePositive) Writes a 1-5 byte float with reduced precision.voidOutput.writeFloat(float value) Writes a 4 byte float.intOutput.writeFloat(float value, float precision, boolean optimizePositive) Writes a 1-5 byte float with reduced precision.voidByteBufferOutput.writeFloats(float[] object) Bulk output of a float array.voidOutput.writeFloats(float[] object) Bulk output of a float array.voidByteBufferOutput.writeInt(int value) Writes a 4 byte int.intByteBufferOutput.writeInt(int value, boolean optimizePositive) voidOutput.writeInt(int value) Writes a 4 byte int.intOutput.writeInt(int value, boolean optimizePositive) Writes a 1-5 byte int.voidByteBufferOutput.writeInts(int[] object) Bulk output of an int array.voidOutput.writeInts(int[] object) Bulk output of an int array.voidOutput.writeInts(int[] object, boolean optimizePositive) Bulk output of an int array.voidByteBufferOutput.writeLong(long value) Writes an 8 byte long.intByteBufferOutput.writeLong(long value, boolean optimizePositive) voidOutput.writeLong(long value) Writes an 8 byte long.intOutput.writeLong(long value, boolean optimizePositive) Writes a 1-9 byte long.voidByteBufferOutput.writeLongs(long[] object) Bulk output of an long array.voidOutput.writeLongs(long[] object) Bulk output of an long array.voidOutput.writeLongs(long[] object, boolean optimizePositive) Bulk output of an long array.intByteBufferOutput.writeLongS(long value, boolean optimizePositive) Writes a 1-9 byte long.voidByteBufferOutput.writeShort(int value) Writes a 2 byte short.voidOutput.writeShort(int value) Writes a 2 byte short.voidByteBufferOutput.writeShorts(short[] object) Bulk output of a short array.voidOutput.writeShorts(short[] object) Bulk output of a short array.voidByteBufferOutput.writeString(CharSequence value) Writes the length and CharSequence as UTF8, or null.voidByteBufferOutput.writeString(String value) Writes the length and string, or null.voidOutput.writeString(CharSequence value) Writes the length and CharSequence as UTF8, or null.voidOutput.writeString(String value) Writes the length and string, or null.intByteBufferOutput.writeVarInt(int val, boolean optimizePositive) intOutput.writeVarInt(int value, boolean optimizePositive) Writes a 1-5 byte int.intByteBufferOutput.writeVarLong(long value, boolean optimizePositive) intOutput.writeVarLong(long value, boolean optimizePositive) Writes a 1-9 byte long. -
Uses of KryoException in com.esotericsoftware.kryo.serializers
Methods in com.esotericsoftware.kryo.serializers that throw KryoException