PHP Interface Protobuf\Binary\Platform\NegativeEncoder

Author: Fabio B. Silva ([email protected])
Datei anzeigen Open project: protobuf-php/protobuf Interface Usage Examples

Public Methods

Method Description
encodeSFixed64 ( integer $value ) : string Encode an integer as a fixed of 64bits.
encodeVarint ( integer $value ) : array Encode a negative varint.

Method Details

encodeSFixed64() public method

Encode an integer as a fixed of 64bits.
public encodeSFixed64 ( integer $value ) : string
$value integer
return string

encodeVarint() public method

Encode a negative varint.
public encodeVarint ( integer $value ) : array
$value integer
return array