webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Static Public Member Functions | Static Public Attributes | List of all members
com.google.protobuf.WireFormat Class Reference

Classes

enum  FieldType
 
enum  JavaType
 
enum  Utf8Validation
 

Static Public Member Functions

static int getTagWireType (final int tag)
 
static int getTagFieldNumber (final int tag)
 

Static Public Attributes

static final int WIRETYPE_VARINT = 0
 
static final int WIRETYPE_FIXED64 = 1
 
static final int WIRETYPE_LENGTH_DELIMITED = 2
 
static final int WIRETYPE_START_GROUP = 3
 
static final int WIRETYPE_END_GROUP = 4
 
static final int WIRETYPE_FIXED32 = 5
 

Detailed Description

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.

Author
kento.nosp@m.n@go.nosp@m.ogle..nosp@m.com Kenton Varda

Member Function Documentation

◆ getTagFieldNumber()

static int com.google.protobuf.WireFormat.getTagFieldNumber ( final int  tag)
inlinestatic

Given a tag value, determines the field number (the upper 29 bits).

◆ getTagWireType()

static int com.google.protobuf.WireFormat.getTagWireType ( final int  tag)
inlinestatic

Given a tag value, determines the wire type (the lower 3 bits).

Member Data Documentation

◆ WIRETYPE_END_GROUP

final int com.google.protobuf.WireFormat.WIRETYPE_END_GROUP = 4
static

◆ WIRETYPE_FIXED32

final int com.google.protobuf.WireFormat.WIRETYPE_FIXED32 = 5
static

◆ WIRETYPE_FIXED64

final int com.google.protobuf.WireFormat.WIRETYPE_FIXED64 = 1
static

◆ WIRETYPE_LENGTH_DELIMITED

final int com.google.protobuf.WireFormat.WIRETYPE_LENGTH_DELIMITED = 2
static

◆ WIRETYPE_START_GROUP

final int com.google.protobuf.WireFormat.WIRETYPE_START_GROUP = 3
static

◆ WIRETYPE_VARINT

final int com.google.protobuf.WireFormat.WIRETYPE_VARINT = 0
static

The documentation for this class was generated from the following file: