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

Breadcrumb

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

function GPBWire::writeDouble

1 call to GPBWire::writeDouble()
GPBWire::serializeFieldToStream in vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php

File

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

Class

GPBWire

Namespace

Google\Protobuf\Internal

Code

public static function writeDouble(&$output, $value) {
    $data = pack("e", $value);
    return $output->writeRaw($data, 8);
}
RSS feed
Powered by Drupal