src/Bunny/Protocol/Buffer.php
public function appendUint64($value)
    {
        if (self::$native64BitPack) {
            $s = pack("Q", $value);
            if (self::$isLittleEndian) {
                $s = self::swapEndian64($s);
            }
        } else {
            $s = pack("LL", ($value & 0xffffffff00000000) >> 32, $value & 0x00000000ffffffff);
            if (self::$isLittleEndian) {
                $s = self::swapHalvedEndian64($s);
            }
        }

        return $this->append($s);
    }
public function appendUint64($value)
    {
        if (self::$native64BitPack) {
            $s = pack("Q", $value);
            if (self::$isLittleEndian) {
                $s = self::swapEndian64($s);
            }
        } else {
            $s = pack("LL", ($value & 0xffffffff00000000) >> 32, $value & 0x00000000ffffffff);
            if (self::$isLittleEndian) {
                $s = self::swapHalvedEndian64($s);
            }
        }

        return $this->append($s);
    }
public function appendUint64 ( $ value ) { if ( self :: $ native64BitPack ) { $ s = pack ( "Q" , $ value ) ; if ( self :: $ isLittleEndian ) { $ s = self :: swapEndian64 ( $ s ) ; } } else { $ s = pack ( "LL" , ( $ value & 0xffffffff00000000 ) >> 32 , $ value & 0x00000000ffffffff ) ; if ( self :: $ isLittleEndian ) { $ s = self :: swapHalvedEndian64 ( $ s ) ; } } return $ this -> append ( $ s ) ; }
Appends unsigned 64-bit integer to buffer.

@param int $value
@return Buffer
Appends unsigned 64 - bit integer to buffer .