
Public Member Functions | |
| int | getFieldNumber () throws IOException |
| int | getTag () |
| int | getTotalBytesRead () |
| boolean | readBool () throws IOException |
| void | readBoolList (List< Boolean > target) throws IOException |
| ByteString | readBytes () throws IOException |
| void | readBytesList (List< ByteString > target) throws IOException |
| double | readDouble () throws IOException |
| void | readDoubleList (List< Double > target) throws IOException |
| int | readEnum () throws IOException |
| void | readEnumList (List< Integer > target) throws IOException |
| int | readFixed32 () throws IOException |
| void | readFixed32List (List< Integer > target) throws IOException |
| long | readFixed64 () throws IOException |
| void | readFixed64List (List< Long > target) throws IOException |
| float | readFloat () throws IOException |
| void | readFloatList (List< Float > target) throws IOException |
| int | readInt32 () throws IOException |
| void | readInt32List (List< Integer > target) throws IOException |
| long | readInt64 () throws IOException |
| void | readInt64List (List< Long > target) throws IOException |
| int | readSFixed32 () throws IOException |
| void | readSFixed32List (List< Integer > target) throws IOException |
| long | readSFixed64 () throws IOException |
| void | readSFixed64List (List< Long > target) throws IOException |
| int | readSInt32 () throws IOException |
| void | readSInt32List (List< Integer > target) throws IOException |
| long | readSInt64 () throws IOException |
| void | readSInt64List (List< Long > target) throws IOException |
| String | readString () throws IOException |
| String | readStringInternal (boolean requireUtf8) throws IOException |
| void | readStringList (List< String > target) throws IOException |
| void | readStringListInternal (List< String > target, boolean requireUtf8) throws IOException |
| void | readStringListRequireUtf8 (List< String > target) throws IOException |
| String | readStringRequireUtf8 () throws IOException |
| int | readUInt32 () throws IOException |
| void | readUInt32List (List< Integer > target) throws IOException |
| long | readUInt64 () throws IOException |
| void | readUInt64List (List< Long > target) throws IOException |
| long | readVarint64 () throws IOException |
| SafeHeapReader (ByteBuffer bytebuf, boolean bufferIsImmutable) | |
| boolean | skipField () throws IOException |
Private Member Functions | |
| boolean | isAtEnd () |
| byte | readByte () throws IOException |
| Object | readField (WireFormat.FieldType fieldType, Class<?> messageType, ExtensionRegistryLite extensionRegistry) throws IOException |
| int | readLittleEndian32 () throws IOException |
| int | readLittleEndian32_NoCheck () |
| long | readLittleEndian64 () throws IOException |
| long | readLittleEndian64_NoCheck () |
| int | readVarint32 () throws IOException |
| long | readVarint64SlowPath () throws IOException |
| void | requireBytes (int size) throws IOException |
| void | requirePosition (int expectedPosition) throws IOException |
| void | requireWireType (int requiredWireType) throws IOException |
| void | skipBytes (final int size) throws IOException |
| void | skipGroup () throws IOException |
| void | skipVarint () throws IOException |
| void | skipVarintSlowPath () throws IOException |
| void | verifyPackedFixed32Length (int bytes) throws IOException |
| void | verifyPackedFixed64Length (int bytes) throws IOException |
Private Attributes | |
| final byte[] | buffer |
| final boolean | bufferIsImmutable |
| int | endGroupTag |
| final int | initialPos |
| int | limit |
| int | pos |
| int | tag |
A BinaryReader implementation that operates on a heap ByteBuffer. Uses only safe operations on the underlying array.
Definition at line 91 of file BinaryReader.java.
|
inline |
Definition at line 100 of file BinaryReader.java.
|
inline |
Definition at line 117 of file BinaryReader.java.
|
inline |
Definition at line 129 of file BinaryReader.java.
|
inline |
Definition at line 112 of file BinaryReader.java.
|
inlineprivate |
Definition at line 107 of file BinaryReader.java.
|
inline |
Definition at line 203 of file BinaryReader.java.
|
inline |
Definition at line 811 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1611 of file BinaryReader.java.
|
inline |
Definition at line 310 of file BinaryReader.java.
|
inline |
Definition at line 993 of file BinaryReader.java.
|
inline |
Definition at line 161 of file BinaryReader.java.
|
inline |
Definition at line 363 of file BinaryReader.java.
|
inline |
Definition at line 333 of file BinaryReader.java.
|
inline |
Definition at line 1078 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1448 of file BinaryReader.java.
|
inline |
Definition at line 197 of file BinaryReader.java.
|
inline |
Definition at line 747 of file BinaryReader.java.
|
inline |
Definition at line 191 of file BinaryReader.java.
|
inline |
Definition at line 683 of file BinaryReader.java.
|
inline |
Definition at line 167 of file BinaryReader.java.
|
inline |
Definition at line 427 of file BinaryReader.java.
|
inline |
Definition at line 185 of file BinaryReader.java.
|
inline |
Definition at line 619 of file BinaryReader.java.
|
inline |
Definition at line 179 of file BinaryReader.java.
|
inline |
Definition at line 555 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1618 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1628 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1623 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1638 of file BinaryReader.java.
|
inline |
Definition at line 339 of file BinaryReader.java.
|
inline |
Definition at line 1140 of file BinaryReader.java.
|
inline |
Definition at line 345 of file BinaryReader.java.
|
inline |
Definition at line 1204 of file BinaryReader.java.
|
inline |
Definition at line 351 of file BinaryReader.java.
|
inline |
Definition at line 1268 of file BinaryReader.java.
|
inline |
Definition at line 357 of file BinaryReader.java.
|
inline |
Definition at line 1330 of file BinaryReader.java.
|
inline |
Definition at line 209 of file BinaryReader.java.
|
inline |
Definition at line 218 of file BinaryReader.java.
|
inline |
Definition at line 875 of file BinaryReader.java.
|
inline |
Definition at line 884 of file BinaryReader.java.
|
inline |
Definition at line 880 of file BinaryReader.java.
|
inline |
Definition at line 214 of file BinaryReader.java.
|
inline |
Definition at line 327 of file BinaryReader.java.
|
inline |
Definition at line 1016 of file BinaryReader.java.
|
inline |
Definition at line 173 of file BinaryReader.java.
|
inline |
Definition at line 491 of file BinaryReader.java.
|
inlineprivate |
Read a raw Varint from the stream. If larger than 32 bits, discard the upper bits.
Definition at line 1494 of file BinaryReader.java.
|
inline |
Definition at line 1531 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1599 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1695 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1723 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1701 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1675 of file BinaryReader.java.
|
inline |
Definition at line 134 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1681 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1652 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1666 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1715 of file BinaryReader.java.
|
inlineprivate |
Definition at line 1707 of file BinaryReader.java.
|
private |
Definition at line 93 of file BinaryReader.java.
|
private |
Definition at line 92 of file BinaryReader.java.
|
private |
Definition at line 98 of file BinaryReader.java.
|
private |
Definition at line 95 of file BinaryReader.java.
|
private |
Definition at line 96 of file BinaryReader.java.
|
private |
Definition at line 94 of file BinaryReader.java.
|
private |
Definition at line 97 of file BinaryReader.java.