src/Binary/StreamWriter.php
public function writeSFixed64(Stream $stream, $value)
    {
        if ($value >= 0) {
            $this->writeFixed64($stream, $value);

            return;
        }

        $bytes = $this->negativeEncoder->encodeSFixed64($value);

        $this->writeBytes($stream, $bytes);
    }
public function writeSFixed64(Stream $stream, $value)
    {
        if ($value >= 0) {
            $this->writeFixed64($stream, $value);

            return;
        }

        $bytes = $this->negativeEncoder->encodeSFixed64($value);

        $this->writeBytes($stream, $bytes);
    }
public function writeSFixed64 ( Stream $ stream , $ value ) { if ( $ value >= 0 ) { $ this -> writeFixed64 ( $ stream , $ value ) ; return ; } $ bytes = $ this -> negativeEncoder -> encodeSFixed64 ( $ value ) ; $ this -> writeBytes ( $ stream , $ bytes ) ; }
Encode an integer as a fixed of 64bits with sign.

@param \Protobuf\Stream $stream
@param integer          $value
Encode an integer as a fixed of 64bits with sign .