public class NoFetchingInput
extends com.esotericsoftware.kryo.io.Input
| Constructor and Description |
|---|
NoFetchingInput(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReadInt() |
boolean |
canReadLong() |
boolean |
eof() |
int |
read() |
int |
read(byte[] bytes,
int offset,
int count) |
void |
readBytes(byte[] bytes,
int offset,
int count) |
protected int |
require(int required)
Require makes sure that at least required number of bytes are kept in the buffer.
|
void |
skip(int count) |
available, close, fill, getBuffer, getInputStream, limit, position, read, readBoolean, readByte, 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, rewind, setBuffer, setBuffer, setInputStream, setLimit, setPosition, setTotal, skip, totalmark, markSupported, resetpublic NoFetchingInput(InputStream inputStream)
public boolean eof()
eof in class com.esotericsoftware.kryo.io.Inputpublic int read()
throws com.esotericsoftware.kryo.KryoException
read in class com.esotericsoftware.kryo.io.Inputcom.esotericsoftware.kryo.KryoExceptionpublic boolean canReadInt()
throws com.esotericsoftware.kryo.KryoException
canReadInt in class com.esotericsoftware.kryo.io.Inputcom.esotericsoftware.kryo.KryoExceptionpublic boolean canReadLong()
throws com.esotericsoftware.kryo.KryoException
canReadLong in class com.esotericsoftware.kryo.io.Inputcom.esotericsoftware.kryo.KryoExceptionprotected int require(int required)
throws com.esotericsoftware.kryo.KryoException
require in class com.esotericsoftware.kryo.io.Inputrequired - the number of bytes being available in the buffercom.esotericsoftware.kryo.KryoExceptionpublic int read(byte[] bytes,
int offset,
int count)
throws com.esotericsoftware.kryo.KryoException
read in class com.esotericsoftware.kryo.io.Inputcom.esotericsoftware.kryo.KryoExceptionpublic void skip(int count)
throws com.esotericsoftware.kryo.KryoException
skip in class com.esotericsoftware.kryo.io.Inputcom.esotericsoftware.kryo.KryoExceptionpublic void readBytes(byte[] bytes,
int offset,
int count)
throws com.esotericsoftware.kryo.KryoException
readBytes in class com.esotericsoftware.kryo.io.Inputcom.esotericsoftware.kryo.KryoExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.