public class PatchedInputChunked
extends com.esotericsoftware.kryo.io.InputChunked
InputChunked
which properly handles eof.
See https://github.com/EsotericSoftware/kryo/issues/651.
Once kryo releases 4.0.3, we can upgrade and remove this class.Constructor and Description |
---|
PatchedInputChunked(InputStream input) |
Modifier and Type | Method and Description |
---|---|
protected int |
fill(byte[] buffer,
int offset,
int count) |
nextChunks, rewind, setBuffer, setInputStream
available, canReadInt, canReadLong, close, eof, getBuffer, getInputStream, limit, position, read, read, read, readBoolean, readByte, readBytes, readBytes, readBytes, readByteUnsigned, readChar, readChars, readDouble, readDouble, readDoubles, readFloat, readFloat, readFloats, readInt, readInt, readInts, readInts, readLong, readLong, readLongs, readLongs, readShort, readShorts, readShortUnsigned, readString, readStringBuilder, readVarInt, readVarLong, require, setBuffer, setLimit, setPosition, setTotal, skip, skip, total
mark, markSupported, reset
public PatchedInputChunked(InputStream input)
input
- the input streamCopyright © 2023. All Rights Reserved.