@Internal 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, total
mark, markSupported, reset
public NoFetchingInput(InputStream inputStream)
public boolean eof()
eof
in class com.esotericsoftware.kryo.io.Input
public int read() throws com.esotericsoftware.kryo.KryoException
read
in class com.esotericsoftware.kryo.io.Input
com.esotericsoftware.kryo.KryoException
public boolean canReadInt() throws com.esotericsoftware.kryo.KryoException
canReadInt
in class com.esotericsoftware.kryo.io.Input
com.esotericsoftware.kryo.KryoException
public boolean canReadLong() throws com.esotericsoftware.kryo.KryoException
canReadLong
in class com.esotericsoftware.kryo.io.Input
com.esotericsoftware.kryo.KryoException
protected int require(int required) throws com.esotericsoftware.kryo.KryoException
require
in class com.esotericsoftware.kryo.io.Input
required
- the number of bytes being available in the buffercom.esotericsoftware.kryo.KryoException
public int read(byte[] bytes, int offset, int count) throws com.esotericsoftware.kryo.KryoException
read
in class com.esotericsoftware.kryo.io.Input
com.esotericsoftware.kryo.KryoException
public void skip(int count) throws com.esotericsoftware.kryo.KryoException
skip
in class com.esotericsoftware.kryo.io.Input
com.esotericsoftware.kryo.KryoException
public void readBytes(byte[] bytes, int offset, int count) throws com.esotericsoftware.kryo.KryoException
readBytes
in class com.esotericsoftware.kryo.io.Input
com.esotericsoftware.kryo.KryoException
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.