webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
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 |
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.
def google.protobuf.internal.reflection_test._MiniDecoder.__init__ | ( | self, | |
bytes | |||
) |
def google.protobuf.internal.reflection_test._MiniDecoder.EndOfStream | ( | self | ) |
def google.protobuf.internal.reflection_test._MiniDecoder.ReadDouble | ( | self | ) |
def google.protobuf.internal.reflection_test._MiniDecoder.ReadFieldNumberAndWireType | ( | self | ) |
def google.protobuf.internal.reflection_test._MiniDecoder.ReadFloat | ( | self | ) |
def google.protobuf.internal.reflection_test._MiniDecoder.ReadSInt64 | ( | self | ) |
def google.protobuf.internal.reflection_test._MiniDecoder.ReadVarint | ( | self | ) |
|
static |
|
static |
|
static |
|
static |
|
static |