Package com.google.protobuf
Class CodedInputStreamReader
- java.lang.Object
-
- com.google.protobuf.CodedInputStreamReader
-
- All Implemented Interfaces:
Reader
@CheckReturnValue @ExperimentalApi final class CodedInputStreamReader extends java.lang.Object implements Reader
An adapter between theReaderinterface andCodedInputStream.
-
-
Field Summary
Fields Modifier and Type Field Description private intendGroupTagprivate static intFIXED32_MULTIPLE_MASKprivate static intFIXED64_MULTIPLE_MASKprivate CodedInputStreaminputprivate static intNEXT_TAG_UNSETprivate intnextTagprivate inttag-
Fields inherited from interface com.google.protobuf.Reader
READ_DONE, TAG_UNKNOWN
-
-
Constructor Summary
Constructors Modifier Constructor Description privateCodedInputStreamReader(CodedInputStream input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CodedInputStreamReaderforCodedInput(CodedInputStream input)intgetFieldNumber()Gets the field number for the current field being read.intgetTag()Gets the wire tag of the current field.<T> voidmergeGroupField(T target, Schema<T> schema, ExtensionRegistryLite extensionRegistry)Read a group field from the wire format and merge the results into the given target.private <T> voidmergeGroupFieldInternal(T target, Schema<T> schema, ExtensionRegistryLite extensionRegistry)<T> voidmergeMessageField(T target, Schema<T> schema, ExtensionRegistryLite extensionRegistry)Read a message field from the wire format and merge the results into the given target.private <T> voidmergeMessageFieldInternal(T target, Schema<T> schema, ExtensionRegistryLite extensionRegistry)booleanreadBool()Reads and returns the next field of typeBOOLand advances the reader to the next field.voidreadBoolList(java.util.List<java.lang.Boolean> target)Reads the next field of typeBOOL_LISTorBOOL_LIST_PACKEDand advances the reader to the next field.ByteStringreadBytes()Reads and returns the next field of typeBYTESand advances the reader to the next field.voidreadBytesList(java.util.List<ByteString> target)Reads the next field of typeBYTES_LISTand advances the reader to the next field.doublereadDouble()Reads and returns the next field of typeDOUBLEand advances the reader to the next field.voidreadDoubleList(java.util.List<java.lang.Double> target)Reads the next field of typeDOUBLE_LISTorDOUBLE_LIST_PACKEDand advances the reader to the next field.intreadEnum()Reads and returns the next field of typeENUMand advances the reader to the next field.voidreadEnumList(java.util.List<java.lang.Integer> target)Reads the next field of typeENUM_LISTorENUM_LIST_PACKEDand advances the reader to the next field.private java.lang.ObjectreadField(WireFormat.FieldType fieldType, java.lang.Class<?> messageType, ExtensionRegistryLite extensionRegistry)intreadFixed32()Reads and returns the next field of typeFIXED32and advances the reader to the next field.voidreadFixed32List(java.util.List<java.lang.Integer> target)Reads the next field of typeFIXED32_LISTorFIXED32_LIST_PACKEDand advances the reader to the next field.longreadFixed64()Reads and returns the next field of typeFIXED64and advances the reader to the next field.voidreadFixed64List(java.util.List<java.lang.Long> target)Reads the next field of typeFIXED64_LISTorFIXED64_LIST_PACKEDand advances the reader to the next field.floatreadFloat()Reads and returns the next field of typeFLOATand advances the reader to the next field.voidreadFloatList(java.util.List<java.lang.Float> target)Reads the next field of typeFLOAT_LISTorFLOAT_LIST_PACKEDand advances the reader to the next field.private <T> TreadGroup(Schema<T> schema, ExtensionRegistryLite extensionRegistry)<T> TreadGroup(java.lang.Class<T> clazz, ExtensionRegistryLite extensionRegistry)Deprecated.<T> TreadGroupBySchemaWithCheck(Schema<T> schema, ExtensionRegistryLite extensionRegistry)Deprecated.<T> voidreadGroupList(java.util.List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry)Deprecated.<T> voidreadGroupList(java.util.List<T> target, java.lang.Class<T> targetType, ExtensionRegistryLite extensionRegistry)Deprecated.intreadInt32()Reads and returns the next field of typeINT32and advances the reader to the next field.voidreadInt32List(java.util.List<java.lang.Integer> target)Reads the next field of typeINT32_LISTorINT32_LIST_PACKEDand advances the reader to the next field.longreadInt64()Reads and returns the next field of typeINT64and advances the reader to the next field.voidreadInt64List(java.util.List<java.lang.Long> target)Reads the next field of typeINT64_LISTorINT64_LIST_PACKEDand advances the reader to the next field.<K,V>
voidreadMap(java.util.Map<K,V> target, MapEntryLite.Metadata<K,V> metadata, ExtensionRegistryLite extensionRegistry)Reads the next field of typeMAPand advances the reader to the next field.private <T> TreadMessage(Schema<T> schema, ExtensionRegistryLite extensionRegistry)<T> TreadMessage(java.lang.Class<T> clazz, ExtensionRegistryLite extensionRegistry)Reads and returns the next field of typeMESSAGEand advances the reader to the next field.<T> TreadMessageBySchemaWithCheck(Schema<T> schema, ExtensionRegistryLite extensionRegistry)<T> voidreadMessageList(java.util.List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry)Reads the next field of typeMESSAGE_LISTand advances the reader to the next field.<T> voidreadMessageList(java.util.List<T> target, java.lang.Class<T> targetType, ExtensionRegistryLite extensionRegistry)intreadSFixed32()Reads and returns the next field of typeSFIXED32and advances the reader to the next field.voidreadSFixed32List(java.util.List<java.lang.Integer> target)Reads the next field of typeSFIXED32_LISTorSFIXED32_LIST_PACKEDand advances the reader to the next field.longreadSFixed64()Reads and returns the next field of typeSFIXED64and advances the reader to the next field.voidreadSFixed64List(java.util.List<java.lang.Long> target)Reads the next field of typeSFIXED64_LISTorSFIXED64_LIST_PACKEDand advances the reader to the next field.intreadSInt32()Reads and returns the next field of typeSINT32and advances the reader to the next field.voidreadSInt32List(java.util.List<java.lang.Integer> target)Reads the next field of typeSINT32_LISTorSINT32_LIST_PACKEDand advances the reader to the next field.longreadSInt64()Reads and returns the next field of typeSINT64and advances the reader to the next field.voidreadSInt64List(java.util.List<java.lang.Long> target)Reads the next field of typeSINT64_LISTorSINT64_LIST_PACKEDand advances the reader to the next field.java.lang.StringreadString()Reads and returns the next field of typeSTRINGand advances the reader to the next field.voidreadStringList(java.util.List<java.lang.String> target)Reads the next field of typeSTRING_LISTand advances the reader to the next field.voidreadStringListInternal(java.util.List<java.lang.String> target, boolean requireUtf8)voidreadStringListRequireUtf8(java.util.List<java.lang.String> target)Reads the next field of typeSTRING_LISTand advances the reader to the next field.java.lang.StringreadStringRequireUtf8()Reads and returns the next field of typeSTRINGand advances the reader to the next field.intreadUInt32()Reads and returns the next field of typeUINT32and advances the reader to the next field.voidreadUInt32List(java.util.List<java.lang.Integer> target)Reads the next field of typeUINT32_LISTorUINT32_LIST_PACKEDand advances the reader to the next field.longreadUInt64()Reads and returns the next field of typeUINT64and advances the reader to the next field.voidreadUInt64List(java.util.List<java.lang.Long> target)Reads the next field of typeUINT64_LISTorUINT64_LIST_PACKEDand advances the reader to the next field.private voidrequirePosition(int expectedPosition)private voidrequireWireType(int requiredWireType)booleanshouldDiscardUnknownFields()booleanskipField()Skips the current field and advances the reader to the next field.private voidverifyPackedFixed32Length(int bytes)private voidverifyPackedFixed64Length(int bytes)
-
-
-
Field Detail
-
FIXED32_MULTIPLE_MASK
private static final int FIXED32_MULTIPLE_MASK
- See Also:
- Constant Field Values
-
FIXED64_MULTIPLE_MASK
private static final int FIXED64_MULTIPLE_MASK
- See Also:
- Constant Field Values
-
NEXT_TAG_UNSET
private static final int NEXT_TAG_UNSET
- See Also:
- Constant Field Values
-
input
private final CodedInputStream input
-
tag
private int tag
-
endGroupTag
private int endGroupTag
-
nextTag
private int nextTag
-
-
Constructor Detail
-
CodedInputStreamReader
private CodedInputStreamReader(CodedInputStream input)
-
-
Method Detail
-
forCodedInput
public static CodedInputStreamReader forCodedInput(CodedInputStream input)
-
shouldDiscardUnknownFields
public boolean shouldDiscardUnknownFields()
- Specified by:
shouldDiscardUnknownFieldsin interfaceReader
-
getFieldNumber
public int getFieldNumber() throws java.io.IOExceptionDescription copied from interface:ReaderGets the field number for the current field being read.TODO: Rename it to make it more explicit about the side effect on the underlying buffer.
- Specified by:
getFieldNumberin interfaceReader- Returns:
- the current field number or
Reader.READ_DONEif the end of input has been reached. - Throws:
java.io.IOException
-
getTag
public int getTag()
Description copied from interface:ReaderGets the wire tag of the current field.- Specified by:
getTagin interfaceReader- Returns:
- the current wire tag or
Reader.TAG_UNKNOWNif the reader does not know the tag of the current field.
-
skipField
public boolean skipField() throws java.io.IOExceptionDescription copied from interface:ReaderSkips the current field and advances the reader to the next field.
-
requireWireType
private void requireWireType(int requiredWireType) throws java.io.IOException- Throws:
java.io.IOException
-
readDouble
public double readDouble() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeDOUBLEand advances the reader to the next field.- Specified by:
readDoublein interfaceReader- Throws:
java.io.IOException
-
readFloat
public float readFloat() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeFLOATand advances the reader to the next field.
-
readUInt64
public long readUInt64() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeUINT64and advances the reader to the next field.- Specified by:
readUInt64in interfaceReader- Throws:
java.io.IOException
-
readInt64
public long readInt64() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeINT64and advances the reader to the next field.
-
readInt32
public int readInt32() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeINT32and advances the reader to the next field.
-
readFixed64
public long readFixed64() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeFIXED64and advances the reader to the next field.- Specified by:
readFixed64in interfaceReader- Throws:
java.io.IOException
-
readFixed32
public int readFixed32() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeFIXED32and advances the reader to the next field.- Specified by:
readFixed32in interfaceReader- Throws:
java.io.IOException
-
readBool
public boolean readBool() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeBOOLand advances the reader to the next field.
-
readString
public java.lang.String readString() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeSTRINGand advances the reader to the next field. If the stream contains malformed UTF-8, replace the offending bytes with the standard UTF-8 replacement character.- Specified by:
readStringin interfaceReader- Throws:
java.io.IOException
-
readStringRequireUtf8
public java.lang.String readStringRequireUtf8() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeSTRINGand advances the reader to the next field. If the stream contains malformed UTF-8, throw exceptionInvalidProtocolBufferException.- Specified by:
readStringRequireUtf8in interfaceReader- Throws:
java.io.IOException
-
readMessage
public <T> T readMessage(java.lang.Class<T> clazz, ExtensionRegistryLite extensionRegistry) throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeMESSAGEand advances the reader to the next field.- Specified by:
readMessagein interfaceReader- Throws:
java.io.IOException
-
readMessageBySchemaWithCheck
public <T> T readMessageBySchemaWithCheck(Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
readMessageBySchemaWithCheckin interfaceReader- Throws:
java.io.IOException
-
readGroup
@Deprecated public <T> T readGroup(java.lang.Class<T> clazz, ExtensionRegistryLite extensionRegistry) throws java.io.IOExceptionDeprecated.Description copied from interface:ReaderReads and returns the next field of typeGROUPand advances the reader to the next field.
-
readGroupBySchemaWithCheck
@Deprecated public <T> T readGroupBySchemaWithCheck(Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
Deprecated.- Specified by:
readGroupBySchemaWithCheckin interfaceReader- Throws:
java.io.IOException
-
mergeMessageField
public <T> void mergeMessageField(T target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOExceptionDescription copied from interface:ReaderRead a message field from the wire format and merge the results into the given target.- Specified by:
mergeMessageFieldin interfaceReader- Throws:
java.io.IOException
-
mergeMessageFieldInternal
private <T> void mergeMessageFieldInternal(T target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
readMessage
private <T> T readMessage(Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
mergeGroupField
public <T> void mergeGroupField(T target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOExceptionDescription copied from interface:ReaderRead a group field from the wire format and merge the results into the given target.- Specified by:
mergeGroupFieldin interfaceReader- Throws:
java.io.IOException
-
mergeGroupFieldInternal
private <T> void mergeGroupFieldInternal(T target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
readGroup
private <T> T readGroup(Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
readBytes
public ByteString readBytes() throws java.io.IOException
Description copied from interface:ReaderReads and returns the next field of typeBYTESand advances the reader to the next field.
-
readUInt32
public int readUInt32() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeUINT32and advances the reader to the next field.- Specified by:
readUInt32in interfaceReader- Throws:
java.io.IOException
-
readEnum
public int readEnum() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeENUMand advances the reader to the next field.
-
readSFixed32
public int readSFixed32() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeSFIXED32and advances the reader to the next field.- Specified by:
readSFixed32in interfaceReader- Throws:
java.io.IOException
-
readSFixed64
public long readSFixed64() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeSFIXED64and advances the reader to the next field.- Specified by:
readSFixed64in interfaceReader- Throws:
java.io.IOException
-
readSInt32
public int readSInt32() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeSINT32and advances the reader to the next field.- Specified by:
readSInt32in interfaceReader- Throws:
java.io.IOException
-
readSInt64
public long readSInt64() throws java.io.IOExceptionDescription copied from interface:ReaderReads and returns the next field of typeSINT64and advances the reader to the next field.- Specified by:
readSInt64in interfaceReader- Throws:
java.io.IOException
-
readDoubleList
public void readDoubleList(java.util.List<java.lang.Double> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeDOUBLE_LISTorDOUBLE_LIST_PACKEDand advances the reader to the next field.- Specified by:
readDoubleListin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readFloatList
public void readFloatList(java.util.List<java.lang.Float> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeFLOAT_LISTorFLOAT_LIST_PACKEDand advances the reader to the next field.- Specified by:
readFloatListin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readUInt64List
public void readUInt64List(java.util.List<java.lang.Long> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeUINT64_LISTorUINT64_LIST_PACKEDand advances the reader to the next field.- Specified by:
readUInt64Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readInt64List
public void readInt64List(java.util.List<java.lang.Long> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeINT64_LISTorINT64_LIST_PACKEDand advances the reader to the next field.- Specified by:
readInt64Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readInt32List
public void readInt32List(java.util.List<java.lang.Integer> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeINT32_LISTorINT32_LIST_PACKEDand advances the reader to the next field.- Specified by:
readInt32Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readFixed64List
public void readFixed64List(java.util.List<java.lang.Long> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeFIXED64_LISTorFIXED64_LIST_PACKEDand advances the reader to the next field.- Specified by:
readFixed64Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readFixed32List
public void readFixed32List(java.util.List<java.lang.Integer> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeFIXED32_LISTorFIXED32_LIST_PACKEDand advances the reader to the next field.- Specified by:
readFixed32Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readBoolList
public void readBoolList(java.util.List<java.lang.Boolean> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeBOOL_LISTorBOOL_LIST_PACKEDand advances the reader to the next field.- Specified by:
readBoolListin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readStringList
public void readStringList(java.util.List<java.lang.String> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeSTRING_LISTand advances the reader to the next field.- Specified by:
readStringListin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readStringListRequireUtf8
public void readStringListRequireUtf8(java.util.List<java.lang.String> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeSTRING_LISTand advances the reader to the next field. If the stream contains malformed UTF-8, throw exceptionInvalidProtocolBufferException.- Specified by:
readStringListRequireUtf8in interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readStringListInternal
public void readStringListInternal(java.util.List<java.lang.String> target, boolean requireUtf8) throws java.io.IOException- Throws:
java.io.IOException
-
readMessageList
public <T> void readMessageList(java.util.List<T> target, java.lang.Class<T> targetType, ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
readMessageListin interfaceReader- Throws:
java.io.IOException
-
readMessageList
public <T> void readMessageList(java.util.List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeMESSAGE_LISTand advances the reader to the next field.- Specified by:
readMessageListin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readGroupList
@Deprecated public <T> void readGroupList(java.util.List<T> target, java.lang.Class<T> targetType, ExtensionRegistryLite extensionRegistry) throws java.io.IOExceptionDeprecated.Description copied from interface:ReaderReads the next field of typeGROUP_LISTand advances the reader to the next field.- Specified by:
readGroupListin interfaceReader- Parameters:
target- the list that will receive the read values.targetType- the type of the elements stored in thetargetlist.- Throws:
java.io.IOException
-
readGroupList
@Deprecated public <T> void readGroupList(java.util.List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws java.io.IOExceptionDeprecated.- Specified by:
readGroupListin interfaceReader- Throws:
java.io.IOException
-
readBytesList
public void readBytesList(java.util.List<ByteString> target) throws java.io.IOException
Description copied from interface:ReaderReads the next field of typeBYTES_LISTand advances the reader to the next field.- Specified by:
readBytesListin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readUInt32List
public void readUInt32List(java.util.List<java.lang.Integer> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeUINT32_LISTorUINT32_LIST_PACKEDand advances the reader to the next field.- Specified by:
readUInt32Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readEnumList
public void readEnumList(java.util.List<java.lang.Integer> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeENUM_LISTorENUM_LIST_PACKEDand advances the reader to the next field.- Specified by:
readEnumListin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readSFixed32List
public void readSFixed32List(java.util.List<java.lang.Integer> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeSFIXED32_LISTorSFIXED32_LIST_PACKEDand advances the reader to the next field.- Specified by:
readSFixed32Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readSFixed64List
public void readSFixed64List(java.util.List<java.lang.Long> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeSFIXED64_LISTorSFIXED64_LIST_PACKEDand advances the reader to the next field.- Specified by:
readSFixed64Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readSInt32List
public void readSInt32List(java.util.List<java.lang.Integer> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeSINT32_LISTorSINT32_LIST_PACKEDand advances the reader to the next field.- Specified by:
readSInt32Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
readSInt64List
public void readSInt64List(java.util.List<java.lang.Long> target) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeSINT64_LISTorSINT64_LIST_PACKEDand advances the reader to the next field.- Specified by:
readSInt64Listin interfaceReader- Parameters:
target- the list that will receive the read values.- Throws:
java.io.IOException
-
verifyPackedFixed64Length
private void verifyPackedFixed64Length(int bytes) throws java.io.IOException- Throws:
java.io.IOException
-
readMap
public <K,V> void readMap(java.util.Map<K,V> target, MapEntryLite.Metadata<K,V> metadata, ExtensionRegistryLite extensionRegistry) throws java.io.IOExceptionDescription copied from interface:ReaderReads the next field of typeMAPand advances the reader to the next field.
-
readField
private java.lang.Object readField(WireFormat.FieldType fieldType, java.lang.Class<?> messageType, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
verifyPackedFixed32Length
private void verifyPackedFixed32Length(int bytes) throws java.io.IOException- Throws:
java.io.IOException
-
requirePosition
private void requirePosition(int expectedPosition) throws java.io.IOException- Throws:
java.io.IOException
-
-