Package org.infinispan.protostream
Interface RawProtoStreamReader
-
- All Known Subinterfaces:
TagReader
- All Known Implementing Classes:
TagReaderImpl
@Deprecated public interface RawProtoStreamReader
Deprecated.replaced byTagReader
. To be removed in 5.0.Interface for direct read access to the protobuf data stream.- Since:
- 3.0
- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
checkLastTagWas(int tag)
Deprecated.void
popLimit(int oldLimit)
Deprecated.int
pushLimit(int byteLimit)
Deprecated.boolean
readBool()
Deprecated.Read abool
value from the stream.byte[]
readByteArray()
Deprecated.Read abytes
value from the stream.ByteBuffer
readByteBuffer()
Deprecated.Read abytes
value from the stream.double
readDouble()
Deprecated.Read adouble
value from the stream.int
readEnum()
Deprecated.Reads an enum value from the stream as an integer value.int
readFixed32()
Deprecated.Read afixed32
value from the stream.long
readFixed64()
Deprecated.Read afixed64
value from the stream.float
readFloat()
Deprecated.Read afloat
value from the stream.int
readInt32()
Deprecated.Read aint32
value from the stream.long
readInt64()
Deprecated.Read aint64
value from the stream.default int
readRawVarint32()
Deprecated.default long
readRawVarint64()
Deprecated.int
readSFixed32()
Deprecated.Read asfixed32
value from the stream.long
readSFixed64()
Deprecated.Read asfixed64
value from the stream.int
readSInt32()
Deprecated.Read asint32
value from the stream.long
readSInt64()
Deprecated.Read asint64
value from the stream.String
readString()
Deprecated.Read astring
value from the stream.int
readTag()
Deprecated.int
readUInt32()
Deprecated.Read auint32
value from the stream.long
readUInt64()
Deprecated.Read auint64
value from the stream.boolean
skipField(int tag)
Deprecated.
-
-
-
Method Detail
-
readTag
int readTag() throws IOException
Deprecated.- Throws:
IOException
-
checkLastTagWas
void checkLastTagWas(int tag) throws IOException
Deprecated.- Throws:
IOException
-
skipField
boolean skipField(int tag) throws IOException
Deprecated.- Throws:
IOException
-
readBool
boolean readBool() throws IOException
Deprecated.Read abool
value from the stream.- Throws:
IOException
-
readEnum
int readEnum() throws IOException
Deprecated.Reads an enum value from the stream as an integer value.- Throws:
IOException
-
readString
String readString() throws IOException
Deprecated.Read astring
value from the stream.- Throws:
IOException
-
readByteArray
byte[] readByteArray() throws IOException
Deprecated.Read abytes
value from the stream.- Throws:
IOException
-
readByteBuffer
ByteBuffer readByteBuffer() throws IOException
Deprecated.Read abytes
value from the stream.- Throws:
IOException
-
readDouble
double readDouble() throws IOException
Deprecated.Read adouble
value from the stream.- Throws:
IOException
-
readFloat
float readFloat() throws IOException
Deprecated.Read afloat
value from the stream.- Throws:
IOException
-
readInt64
long readInt64() throws IOException
Deprecated.Read aint64
value from the stream.- Throws:
IOException
-
readUInt64
long readUInt64() throws IOException
Deprecated.Read auint64
value from the stream.- Throws:
IOException
-
readSInt64
long readSInt64() throws IOException
Deprecated.Read asint64
value from the stream.- Throws:
IOException
-
readFixed64
long readFixed64() throws IOException
Deprecated.Read afixed64
value from the stream.- Throws:
IOException
-
readSFixed64
long readSFixed64() throws IOException
Deprecated.Read asfixed64
value from the stream.- Throws:
IOException
-
readInt32
int readInt32() throws IOException
Deprecated.Read aint32
value from the stream.- Throws:
IOException
-
readUInt32
int readUInt32() throws IOException
Deprecated.Read auint32
value from the stream.- Throws:
IOException
-
readSInt32
int readSInt32() throws IOException
Deprecated.Read asint32
value from the stream.- Throws:
IOException
-
readFixed32
int readFixed32() throws IOException
Deprecated.Read afixed32
value from the stream.- Throws:
IOException
-
readSFixed32
int readSFixed32() throws IOException
Deprecated.Read asfixed32
value from the stream.- Throws:
IOException
-
readRawVarint64
default long readRawVarint64() throws IOException
Deprecated.- Throws:
IOException
-
readRawVarint32
default int readRawVarint32() throws IOException
Deprecated.- Throws:
IOException
-
pushLimit
int pushLimit(int byteLimit) throws IOException
Deprecated.- Throws:
IOException
-
popLimit
void popLimit(int oldLimit)
Deprecated.
-
-