webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Attributes | List of all members
google.protobuf.internal.reflection_test._MiniDecoder Class Reference
Inheritance diagram for google.protobuf.internal.reflection_test._MiniDecoder:

Public Member Functions

def __init__ (self, bytes)
 
def ReadVarint (self)
 
def ReadSInt64 (self)
 
def ReadFieldNumberAndWireType (self)
 
def ReadFloat (self)
 
def ReadDouble (self)
 
def EndOfStream (self)
 

Static Public Attributes

def ReadInt32 = ReadVarint
 
def ReadInt64 = ReadVarint
 
def ReadUInt32 = ReadVarint
 
def ReadUInt64 = ReadVarint
 
def ReadSInt32 = ReadSInt64
 

Detailed Description

Decodes a stream of values from a string.

Once upon a time we actually had a class called decoder.Decoder.  Then we
got rid of it during a redesign that made decoding much, much faster overall.
But a couple tests in this file used it to check that the serialized form of
a message was correct.  So, this class implements just the methods that were
used by said tests, so that we don't have to rewrite the tests.

Constructor & Destructor Documentation

◆ __init__()

def google.protobuf.internal.reflection_test._MiniDecoder.__init__ (   self,
  bytes 
)

Member Function Documentation

◆ EndOfStream()

def google.protobuf.internal.reflection_test._MiniDecoder.EndOfStream (   self)

◆ ReadDouble()

def google.protobuf.internal.reflection_test._MiniDecoder.ReadDouble (   self)

◆ ReadFieldNumberAndWireType()

def google.protobuf.internal.reflection_test._MiniDecoder.ReadFieldNumberAndWireType (   self)

◆ ReadFloat()

def google.protobuf.internal.reflection_test._MiniDecoder.ReadFloat (   self)

◆ ReadSInt64()

def google.protobuf.internal.reflection_test._MiniDecoder.ReadSInt64 (   self)

◆ ReadVarint()

def google.protobuf.internal.reflection_test._MiniDecoder.ReadVarint (   self)

Member Data Documentation

◆ ReadInt32

def google.protobuf.internal.reflection_test._MiniDecoder.ReadInt32 = ReadVarint
static

◆ ReadInt64

def google.protobuf.internal.reflection_test._MiniDecoder.ReadInt64 = ReadVarint
static

◆ ReadSInt32

def google.protobuf.internal.reflection_test._MiniDecoder.ReadSInt32 = ReadSInt64
static

◆ ReadUInt32

def google.protobuf.internal.reflection_test._MiniDecoder.ReadUInt32 = ReadVarint
static

◆ ReadUInt64

def google.protobuf.internal.reflection_test._MiniDecoder.ReadUInt64 = ReadVarint
static

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