webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Static Public Member Functions | |
static int | getTagFieldNumber (final int tag) |
static boolean | parseUnknownField (final CodedInputByteBufferNano input, final int tag) throws IOException |
static final int | getRepeatedFieldArrayLength (final CodedInputByteBufferNano input, final int tag) throws IOException |
Static Public Attributes | |
static final int | EMPTY_INT_ARRAY [] = {} |
static final long | EMPTY_LONG_ARRAY [] = {} |
static final float | EMPTY_FLOAT_ARRAY [] = {} |
static final double | EMPTY_DOUBLE_ARRAY [] = {} |
static final boolean | EMPTY_BOOLEAN_ARRAY [] = {} |
static final String | EMPTY_STRING_ARRAY [] = {} |
static final byte [] | EMPTY_BYTES_ARRAY [] = {} |
static final byte [] | EMPTY_BYTES = {} |
This class is used internally by the Protocol Buffer library and generated message implementations. It is public only because those generated messages do not reside in the
package. Others should not use this class directly.
This class contains constants and helper functions useful for dealing with the Protocol Buffer wire format.
|
inlinestatic |
Computes the array length of a repeated field. We assume that in the common case repeated fields are contiguously serialized but we still correctly handle interspersed values of a repeated field (but with extra allocations).
Rewinds to current input position before returning.
input | stream input, pointing to the byte after the first tag |
tag | repeated field tag just read |
IOException |
|
inlinestatic |
Given a tag value, determines the field number (the upper 29 bits).
|
inlinestatic |
Parses an unknown field. This implementation skips the field.
Generated messages will call this for unknown fields if the store_unknown_fields option is off.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |