Package org.infinispan.protostream
Interface TagReader
-
- All Superinterfaces:
RawProtoStreamReader
- All Known Implementing Classes:
TagReaderImpl
public interface TagReader extends RawProtoStreamReader
- Since:
- 4.4
- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkLastTagWas(int tag)
boolean
isAtEnd()
void
popLimit(int oldLimit)
int
pushLimit(int byteLimit)
boolean
readBool()
byte[]
readByteArray()
ByteBuffer
readByteBuffer()
double
readDouble()
int
readEnum()
int
readFixed32()
long
readFixed64()
float
readFloat()
int
readInt32()
long
readInt64()
int
readRawVarint32()
long
readRawVarint64()
int
readSFixed32()
long
readSFixed64()
int
readSInt32()
long
readSInt64()
String
readString()
int
readTag()
int
readUInt32()
long
readUInt64()
boolean
skipField(int tag)
-
-
-
Method Detail
-
isAtEnd
boolean isAtEnd() throws IOException
- Throws:
IOException
-
readTag
int readTag() throws IOException
- Specified by:
readTag
in interfaceRawProtoStreamReader
- Throws:
IOException
-
checkLastTagWas
void checkLastTagWas(int tag) throws IOException
- Specified by:
checkLastTagWas
in interfaceRawProtoStreamReader
- Throws:
IOException
-
skipField
boolean skipField(int tag) throws IOException
- Specified by:
skipField
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readBool
boolean readBool() throws IOException
- Specified by:
readBool
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readEnum
int readEnum() throws IOException
- Specified by:
readEnum
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readString
String readString() throws IOException
- Specified by:
readString
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readByteArray
byte[] readByteArray() throws IOException
- Specified by:
readByteArray
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readByteBuffer
ByteBuffer readByteBuffer() throws IOException
- Specified by:
readByteBuffer
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readDouble
double readDouble() throws IOException
- Specified by:
readDouble
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readFloat
float readFloat() throws IOException
- Specified by:
readFloat
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readInt64
long readInt64() throws IOException
- Specified by:
readInt64
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readUInt64
long readUInt64() throws IOException
- Specified by:
readUInt64
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readSInt64
long readSInt64() throws IOException
- Specified by:
readSInt64
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readFixed64
long readFixed64() throws IOException
- Specified by:
readFixed64
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readSFixed64
long readSFixed64() throws IOException
- Specified by:
readSFixed64
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readRawVarint64
long readRawVarint64() throws IOException
- Specified by:
readRawVarint64
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readInt32
int readInt32() throws IOException
- Specified by:
readInt32
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readUInt32
int readUInt32() throws IOException
- Specified by:
readUInt32
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readSInt32
int readSInt32() throws IOException
- Specified by:
readSInt32
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readFixed32
int readFixed32() throws IOException
- Specified by:
readFixed32
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readSFixed32
int readSFixed32() throws IOException
- Specified by:
readSFixed32
in interfaceRawProtoStreamReader
- Throws:
IOException
-
readRawVarint32
int readRawVarint32() throws IOException
- Specified by:
readRawVarint32
in interfaceRawProtoStreamReader
- Throws:
IOException
-
pushLimit
int pushLimit(int byteLimit) throws IOException
- Specified by:
pushLimit
in interfaceRawProtoStreamReader
- Throws:
IOException
-
popLimit
void popLimit(int oldLimit)
- Specified by:
popLimit
in interfaceRawProtoStreamReader
-
-