function GPBWire::readInt64
2 calls to GPBWire::readInt64()
- GPBWire::readUint64 in vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ GPBWire.php - Message::parseFieldFromStreamNoTag in vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ Message.php - @ignore
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ GPBWire.php, line 148
Class
Namespace
Google\Protobuf\InternalCode
public static function readInt64(&$input, &$value) {
$success = $input->readVarint64($value);
if (PHP_INT_SIZE == 4 && bccomp($value, "9223372036854775807") > 0) {
$value = bcsub($value, "18446744073709551616");
}
return $success;
}