Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GPBWire.php

function GPBWire::readSfixed64

1 call to GPBWire::readSfixed64()
Message::parseFieldFromStreamNoTag in vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php
@ignore

File

vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php, line 206

Class

GPBWire

Namespace

Google\Protobuf\Internal

Code

public static function readSfixed64(&$input, &$value) {
    $success = $input->readLittleEndian64($value);
    if (PHP_INT_SIZE == 4 && bccomp($value, "9223372036854775807") > 0) {
        $value = bcsub($value, "18446744073709551616");
    }
    return $success;
}
RSS feed
Powered by Drupal