Package org.infinispan.protostream
Interface RawProtoStreamReader
-
- All Known Implementing Classes:
RawProtoStreamReaderImpl
public interface RawProtoStreamReader
- Since:
- 3.0
- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkLastTagWas(int tag)
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
-
readTag
int readTag() throws IOException
- Throws:
IOException
-
checkLastTagWas
void checkLastTagWas(int tag) throws IOException
- Throws:
IOException
-
skipField
boolean skipField(int tag) throws IOException
- Throws:
IOException
-
readBool
boolean readBool() throws IOException
- Throws:
IOException
-
readEnum
int readEnum() throws IOException
- Throws:
IOException
-
readString
String readString() throws IOException
- Throws:
IOException
-
readByteArray
byte[] readByteArray() throws IOException
- Throws:
IOException
-
readByteBuffer
ByteBuffer readByteBuffer() throws IOException
- Throws:
IOException
-
readDouble
double readDouble() throws IOException
- Throws:
IOException
-
readFloat
float readFloat() throws IOException
- Throws:
IOException
-
readInt64
long readInt64() throws IOException
- Throws:
IOException
-
readUInt64
long readUInt64() throws IOException
- Throws:
IOException
-
readSInt64
long readSInt64() throws IOException
- Throws:
IOException
-
readFixed64
long readFixed64() throws IOException
- Throws:
IOException
-
readSFixed64
long readSFixed64() throws IOException
- Throws:
IOException
-
readRawVarint64
long readRawVarint64() throws IOException
- Throws:
IOException
-
readInt32
int readInt32() throws IOException
- Throws:
IOException
-
readUInt32
int readUInt32() throws IOException
- Throws:
IOException
-
readSInt32
int readSInt32() throws IOException
- Throws:
IOException
-
readFixed32
int readFixed32() throws IOException
- Throws:
IOException
-
readSFixed32
int readSFixed32() throws IOException
- Throws:
IOException
-
readRawVarint32
int readRawVarint32() throws IOException
- Throws:
IOException
-
pushLimit
int pushLimit(int byteLimit) throws IOException
- Throws:
IOException
-
popLimit
void popLimit(int oldLimit)
-
-