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:
- anistor@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidcheckLastTagWas(int tag)Deprecated.voidpopLimit(int oldLimit)Deprecated.intpushLimit(int byteLimit)Deprecated.booleanreadBool()Deprecated.Read aboolvalue from the stream.byte[]readByteArray()Deprecated.Read abytesvalue from the stream.ByteBufferreadByteBuffer()Deprecated.Read abytesvalue from the stream.doublereadDouble()Deprecated.Read adoublevalue from the stream.intreadEnum()Deprecated.Reads an enum value from the stream as an integer value.intreadFixed32()Deprecated.Read afixed32value from the stream.longreadFixed64()Deprecated.Read afixed64value from the stream.floatreadFloat()Deprecated.Read afloatvalue from the stream.intreadInt32()Deprecated.Read aint32value from the stream.longreadInt64()Deprecated.Read aint64value from the stream.default intreadRawVarint32()Deprecated.default longreadRawVarint64()Deprecated.intreadSFixed32()Deprecated.Read asfixed32value from the stream.longreadSFixed64()Deprecated.Read asfixed64value from the stream.intreadSInt32()Deprecated.Read asint32value from the stream.longreadSInt64()Deprecated.Read asint64value from the stream.StringreadString()Deprecated.Read astringvalue from the stream.intreadTag()Deprecated.intreadUInt32()Deprecated.Read auint32value from the stream.longreadUInt64()Deprecated.Read auint64value from the stream.booleanskipField(int tag)Deprecated.
-
-
-
Method Detail
-
readTag
int readTag() throws IOExceptionDeprecated.- Throws:
IOException
-
checkLastTagWas
void checkLastTagWas(int tag) throws IOExceptionDeprecated.- Throws:
IOException
-
skipField
boolean skipField(int tag) throws IOExceptionDeprecated.- Throws:
IOException
-
readBool
boolean readBool() throws IOExceptionDeprecated.Read aboolvalue from the stream.- Throws:
IOException
-
readEnum
int readEnum() throws IOExceptionDeprecated.Reads an enum value from the stream as an integer value.- Throws:
IOException
-
readString
String readString() throws IOException
Deprecated.Read astringvalue from the stream.- Throws:
IOException
-
readByteArray
byte[] readByteArray() throws IOExceptionDeprecated.Read abytesvalue from the stream.- Throws:
IOException
-
readByteBuffer
ByteBuffer readByteBuffer() throws IOException
Deprecated.Read abytesvalue from the stream.- Throws:
IOException
-
readDouble
double readDouble() throws IOExceptionDeprecated.Read adoublevalue from the stream.- Throws:
IOException
-
readFloat
float readFloat() throws IOExceptionDeprecated.Read afloatvalue from the stream.- Throws:
IOException
-
readInt64
long readInt64() throws IOExceptionDeprecated.Read aint64value from the stream.- Throws:
IOException
-
readUInt64
long readUInt64() throws IOExceptionDeprecated.Read auint64value from the stream.- Throws:
IOException
-
readSInt64
long readSInt64() throws IOExceptionDeprecated.Read asint64value from the stream.- Throws:
IOException
-
readFixed64
long readFixed64() throws IOExceptionDeprecated.Read afixed64value from the stream.- Throws:
IOException
-
readSFixed64
long readSFixed64() throws IOExceptionDeprecated.Read asfixed64value from the stream.- Throws:
IOException
-
readInt32
int readInt32() throws IOExceptionDeprecated.Read aint32value from the stream.- Throws:
IOException
-
readUInt32
int readUInt32() throws IOExceptionDeprecated.Read auint32value from the stream.- Throws:
IOException
-
readSInt32
int readSInt32() throws IOExceptionDeprecated.Read asint32value from the stream.- Throws:
IOException
-
readFixed32
int readFixed32() throws IOExceptionDeprecated.Read afixed32value from the stream.- Throws:
IOException
-
readSFixed32
int readSFixed32() throws IOExceptionDeprecated.Read asfixed32value from the stream.- Throws:
IOException
-
readRawVarint64
default long readRawVarint64() throws IOExceptionDeprecated.- Throws:
IOException
-
readRawVarint32
default int readRawVarint32() throws IOExceptionDeprecated.- Throws:
IOException
-
pushLimit
int pushLimit(int byteLimit) throws IOExceptionDeprecated.- Throws:
IOException
-
popLimit
void popLimit(int oldLimit)
Deprecated.
-
-