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 TypeMethodDescriptionboolean
ByteBufferInput.canReadInt()
Returns true if enough bytes are available to read an int withByteBufferInput.readInt(boolean)
.boolean
Input.canReadInt()
Returns true if enough bytes are available to read an int withInput.readInt(boolean)
.boolean
ByteBufferInput.canReadLong()
Returns true if enough bytes are available to read a long withByteBufferInput.readLong(boolean)
.boolean
Input.canReadLong()
Returns true if enough bytes are available to read a long withInput.readLong(boolean)
.void
ByteBufferInput.close()
Closes the underlying InputStream, if any.void
ByteBufferOutput.close()
Flushes any buffered bytes and closes the underlying OutputStream, if any.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
(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()
Writes the buffered bytes to the underlying OutputStream, if any.void
Output.flush()
Writes the buffered bytes to the underlying OutputStream, if any.void
OutputChunked.flush()
private int
ByteBufferInput.optional
(int optional) private int
Input.optional
(int optional) int
ByteBufferInput.read()
Reads a single byte as an int from 0 to 255, or -1 if there are no more bytes are available.int
ByteBufferInput.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
ByteBufferInput.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.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()
Reads a 1 byte boolean.boolean
Input.readBoolean()
Reads a 1 byte boolean.byte
ByteBufferInput.readByte()
Reads a single byte.byte
Input.readByte()
Reads a single byte.void
ByteBufferInput.readBytes
(byte[] bytes) Reads bytes.length bytes and writes them to the specified byte[], starting at index 0.void
ByteBufferInput.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[].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()
Reads a byte as an int from 0 to 255.int
Input.readByteUnsigned()
Reads a byte as an int from 0 to 255.char
ByteBufferInput.readChar()
Reads a 2 byte char.char
Input.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.double
ByteBufferInput.readDouble()
Reads an 8 bytes double.double
ByteBufferInput.readDouble
(double precision, boolean optimizePositive) Reads a 1-9 byte double with reduced precision.double
Input.readDouble()
Reads an 8 bytes double.double
Input.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.float
ByteBufferInput.readFloat()
Reads a 4 byte float.float
ByteBufferInput.readFloat
(float precision, boolean optimizePositive) Reads a 1-5 byte float with reduced precision.float
Input.readFloat()
Reads a 4 byte float.float
Input.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.int
ByteBufferInput.readInt()
int
ByteBufferInput.readInt
(boolean optimizePositive) int
Input.readInt()
Reads a 4 byte int.int
Input.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.long
ByteBufferInput.readLong()
Reads an 8 byte long.long
ByteBufferInput.readLong
(boolean optimizePositive) Reads a 1-9 byte long.long
Input.readLong()
Reads an 8 byte long.long
Input.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.short
ByteBufferInput.readShort()
Reads a 2 byte short.short
Input.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.int
ByteBufferInput.readShortUnsigned()
Reads a 2 byte short as an int from 0 to 65535.int
Input.readShortUnsigned()
Reads a 2 byte short as an int from 0 to 65535.int
ByteBufferInput.readVarInt
(boolean optimizePositive) int
Input.readVarInt
(boolean optimizePositive) Reads a 1-5 byte int.long
ByteBufferInput.readVarLong
(boolean optimizePositive) Reads a 1-9 byte long.long
Input.readVarLong
(boolean optimizePositive) Reads a 1-9 byte long.protected final int
ByteBufferInput.require
(int required) protected boolean
ByteBufferOutput.require
(int required) protected int
Input.require
(int required) protected boolean
Output.require
(int required) void
ByteBufferInput.skip
(int count) long
ByteBufferInput.skip
(long count) Discards the specified number of bytes.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) Writes the bytes.void
ByteBufferOutput.write
(byte[] bytes, int offset, int length) Writes the bytes.void
ByteBufferOutput.write
(int value) Writes a byte.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
(String value) Writes a string that is known to contain only ASCII characters.void
Output.writeAscii
(String value) Writes a string that is known to contain only ASCII characters.private void
ByteBufferOutput.writeAscii_slow
(String value, int charCount) private void
Output.writeAscii_slow
(String value, int charCount) void
ByteBufferOutput.writeBoolean
(boolean value) Writes a 1 byte boolean.void
Output.writeBoolean
(boolean value) Writes a 1 byte boolean.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) Writes the bytes.void
ByteBufferOutput.writeBytes
(byte[] bytes, int offset, int count) Writes the bytes.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) Writes a 2 byte char.void
Output.writeChar
(char value) Writes a 2 byte char.void
ByteBufferOutput.writeChars
(char[] object) Bulk output of a char array.void
Output.writeChars
(char[] object) Bulk output of a char array.void
ByteBufferOutput.writeDouble
(double value) Writes an 8 byte double.int
ByteBufferOutput.writeDouble
(double value, double precision, boolean optimizePositive) Writes a 1-9 byte double with reduced precision.void
Output.writeDouble
(double value) Writes an 8 byte double.int
Output.writeDouble
(double value, double precision, boolean optimizePositive) Writes a 1-9 byte double with reduced precision.void
ByteBufferOutput.writeDoubles
(double[] object) Bulk output of a double array.void
Output.writeDoubles
(double[] object) Bulk output of a double array.void
ByteBufferOutput.writeFloat
(float value) Writes a 4 byte float.int
ByteBufferOutput.writeFloat
(float value, float precision, boolean optimizePositive) Writes a 1-5 byte float with reduced precision.void
Output.writeFloat
(float value) Writes a 4 byte float.int
Output.writeFloat
(float value, float precision, boolean optimizePositive) Writes a 1-5 byte float with reduced precision.void
ByteBufferOutput.writeFloats
(float[] object) Bulk output of a float array.void
Output.writeFloats
(float[] object) Bulk output of a float array.void
ByteBufferOutput.writeInt
(int value) Writes a 4 byte int.int
ByteBufferOutput.writeInt
(int value, boolean optimizePositive) void
Output.writeInt
(int value) Writes a 4 byte int.int
Output.writeInt
(int value, boolean optimizePositive) Writes a 1-5 byte int.void
ByteBufferOutput.writeInts
(int[] object) Bulk output of an int array.void
Output.writeInts
(int[] object) Bulk output of an int array.void
Output.writeInts
(int[] object, boolean optimizePositive) Bulk output of an int array.void
ByteBufferOutput.writeLong
(long value) Writes an 8 byte long.int
ByteBufferOutput.writeLong
(long value, boolean optimizePositive) void
Output.writeLong
(long value) Writes an 8 byte long.int
Output.writeLong
(long value, boolean optimizePositive) Writes a 1-9 byte long.void
ByteBufferOutput.writeLongs
(long[] object) Bulk output of an long array.void
Output.writeLongs
(long[] object) Bulk output of an long array.void
Output.writeLongs
(long[] object, boolean optimizePositive) Bulk output of an long array.int
ByteBufferOutput.writeLongS
(long value, boolean optimizePositive) Writes a 1-9 byte long.void
ByteBufferOutput.writeShort
(int value) Writes a 2 byte short.void
Output.writeShort
(int value) Writes a 2 byte short.void
ByteBufferOutput.writeShorts
(short[] object) Bulk output of a short array.void
Output.writeShorts
(short[] object) Bulk output of a short array.void
ByteBufferOutput.writeString
(CharSequence value) Writes the length and CharSequence as UTF8, or null.void
ByteBufferOutput.writeString
(String value) Writes the length and string, or null.void
Output.writeString
(CharSequence value) Writes the length and CharSequence as UTF8, or null.void
Output.writeString
(String value) Writes the length and string, or null.int
ByteBufferOutput.writeVarInt
(int val, boolean optimizePositive) int
Output.writeVarInt
(int value, boolean optimizePositive) Writes a 1-5 byte int.int
ByteBufferOutput.writeVarLong
(long value, boolean optimizePositive) int
Output.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