public final class RawProtoStreamReaderImpl extends Object implements RawProtoStreamReader
| Modifier and Type | Method and Description |
|---|---|
void |
checkLastTagWas(int tag) |
com.google.protobuf.CodedInputStream |
getDelegate() |
static RawProtoStreamReader |
newInstance(byte[] buf) |
static RawProtoStreamReader |
newInstance(byte[] buf,
int off,
int len) |
static RawProtoStreamReader |
newInstance(ByteBuffer buf) |
static RawProtoStreamReader |
newInstance(InputStream input) |
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) |
public static RawProtoStreamReader newInstance(InputStream input)
public static RawProtoStreamReader newInstance(byte[] buf)
public static RawProtoStreamReader newInstance(byte[] buf, int off, int len)
public static RawProtoStreamReader newInstance(ByteBuffer buf)
public com.google.protobuf.CodedInputStream getDelegate()
public int readTag()
throws IOException
readTag in interface RawProtoStreamReaderIOExceptionpublic void checkLastTagWas(int tag)
throws IOException
checkLastTagWas in interface RawProtoStreamReaderIOExceptionpublic boolean skipField(int tag)
throws IOException
skipField in interface RawProtoStreamReaderIOExceptionpublic double readDouble()
throws IOException
readDouble in interface RawProtoStreamReaderIOExceptionpublic float readFloat()
throws IOException
readFloat in interface RawProtoStreamReaderIOExceptionpublic long readUInt64()
throws IOException
readUInt64 in interface RawProtoStreamReaderIOExceptionpublic long readInt64()
throws IOException
readInt64 in interface RawProtoStreamReaderIOExceptionpublic int readInt32()
throws IOException
readInt32 in interface RawProtoStreamReaderIOExceptionpublic long readFixed64()
throws IOException
readFixed64 in interface RawProtoStreamReaderIOExceptionpublic int readFixed32()
throws IOException
readFixed32 in interface RawProtoStreamReaderIOExceptionpublic boolean readBool()
throws IOException
readBool in interface RawProtoStreamReaderIOExceptionpublic String readString() throws IOException
readString in interface RawProtoStreamReaderIOExceptionpublic byte[] readByteArray()
throws IOException
readByteArray in interface RawProtoStreamReaderIOExceptionpublic ByteBuffer readByteBuffer() throws IOException
readByteBuffer in interface RawProtoStreamReaderIOExceptionpublic int readUInt32()
throws IOException
readUInt32 in interface RawProtoStreamReaderIOExceptionpublic int readEnum()
throws IOException
readEnum in interface RawProtoStreamReaderIOExceptionpublic int readSFixed32()
throws IOException
readSFixed32 in interface RawProtoStreamReaderIOExceptionpublic long readSFixed64()
throws IOException
readSFixed64 in interface RawProtoStreamReaderIOExceptionpublic int readSInt32()
throws IOException
readSInt32 in interface RawProtoStreamReaderIOExceptionpublic long readSInt64()
throws IOException
readSInt64 in interface RawProtoStreamReaderIOExceptionpublic int readRawVarint32()
throws IOException
readRawVarint32 in interface RawProtoStreamReaderIOExceptionpublic long readRawVarint64()
throws IOException
readRawVarint64 in interface RawProtoStreamReaderIOExceptionpublic int pushLimit(int byteLimit)
throws IOException
pushLimit in interface RawProtoStreamReaderIOExceptionpublic void popLimit(int oldLimit)
popLimit in interface RawProtoStreamReaderCopyright © 2020 JBoss, a division of Red Hat. All rights reserved.