|
|
|
@ -113,7 +113,7 @@ class CodedInputStream |
|
|
|
|
/** |
|
|
|
|
* Read uint32 into $var. Advance buffer with consumed bytes. If the |
|
|
|
|
* contained varint is larger than 32 bits, discard the high order bits. |
|
|
|
|
* @param $var. |
|
|
|
|
* @param $var |
|
|
|
|
*/ |
|
|
|
|
public function readVarint32(&$var) |
|
|
|
|
{ |
|
|
|
@ -142,7 +142,7 @@ class CodedInputStream |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Read Uint64 into $var. Advance buffer with consumed bytes. |
|
|
|
|
* @param $var. |
|
|
|
|
* @param $var |
|
|
|
|
*/ |
|
|
|
|
public function readVarint64(&$var) |
|
|
|
|
{ |
|
|
|
@ -208,7 +208,7 @@ class CodedInputStream |
|
|
|
|
/** |
|
|
|
|
* Read int into $var. If the result is larger than the largest integer, $var |
|
|
|
|
* will be -1. Advance buffer with consumed bytes. |
|
|
|
|
* @param $var. |
|
|
|
|
* @param $var |
|
|
|
|
*/ |
|
|
|
|
public function readVarintSizeAsInt(&$var) |
|
|
|
|
{ |
|
|
|
@ -222,7 +222,7 @@ class CodedInputStream |
|
|
|
|
/** |
|
|
|
|
* Read 32-bit unsigned integer to $var. If the buffer has less than 4 bytes, |
|
|
|
|
* return false. Advance buffer with consumed bytes. |
|
|
|
|
* @param $var. |
|
|
|
|
* @param $var |
|
|
|
|
*/ |
|
|
|
|
public function readLittleEndian32(&$var) |
|
|
|
|
{ |
|
|
|
@ -238,7 +238,7 @@ class CodedInputStream |
|
|
|
|
/** |
|
|
|
|
* Read 64-bit unsigned integer to $var. If the buffer has less than 8 bytes, |
|
|
|
|
* return false. Advance buffer with consumed bytes. |
|
|
|
|
* @param $var. |
|
|
|
|
* @param $var |
|
|
|
|
*/ |
|
|
|
|
public function readLittleEndian64(&$var) |
|
|
|
|
{ |
|
|
|
@ -261,7 +261,6 @@ class CodedInputStream |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Read tag into $var. Advance buffer with consumed bytes. |
|
|
|
|
* @param $var. |
|
|
|
|
*/ |
|
|
|
|
public function readTag() |
|
|
|
|
{ |
|
|
|
|