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

Breadcrumb

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

function CodedOutputStream::writeLittleEndian32ToArray

1 call to CodedOutputStream::writeLittleEndian32ToArray()
CodedOutputStream::writeLittleEndian32 in vendor/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php

File

vendor/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php, line 105

Class

CodedOutputStream

Namespace

Google\Protobuf\Internal

Code

private static function writeLittleEndian32ToArray($value, &$buffer) {
    $buffer[0] = chr($value & 0xff);
    $buffer[1] = chr($value >> 8 & 0xff);
    $buffer[2] = chr($value >> 16 & 0xff);
    $buffer[3] = chr($value >> 24 & 0xff);
    return 4;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal