google.appengine.datastore.sortable_pb_encoder.Decoder

Decoder that decodes a bytes buffer into a protocol buffer message.

Inherits From: expected_type

Methods

DecodeMessage

View source

Get16

View source

Get the next 16 bits from the buffer.

Get32

View source

Get the next 32 bits from the buffer.

Get64

View source

Get the next 64 bits from the buffer.

Get8

View source

Get the next 8 bits from the buffer.

GetBoolean

View source

Decode the next bits as a boolean value.

GetDouble

View source

Decode the next bits as a double value.

GetFloat

View source

Decode the next bits as a floating point value.

GetMessage

View source

Decode a message.

Args
prototype The prototype of the protocol buffer message.

Returns
The decoded message.

GetPrefixedString

View source

GetVarInt32

View source

Decode the next bits as a varint and check it's a 32 bit value.

GetVarInt64

View source

Decode the next bits as a varint.

GetVarUint64

View source

Decode the next bits as a varint and check it's non-negative value.