src/Bunny/Protocol/Buffer.php
public static function swapEndian64($s)
    {
        return $s[7] . $s[6] . $s[5] . $s[4] . $s[3] . $s[2] . $s[1] . $s[0];
    }
public static function swapEndian64($s)
    {
        return $s[7] . $s[6] . $s[5] . $s[4] . $s[3] . $s[2] . $s[1] . $s[0];
    }
public static function swapEndian64 ( $ s ) { return $ s [ 7 ] . $ s [ 6 ] . $ s [ 5 ] . $ s [ 4 ] . $ s [ 3 ] . $ s [ 2 ] . $ s [ 1 ] . $ s [ 0 ] ; }
Swaps 64-bit integer endianness.

@param string $s
@return string
Swaps 64 - bit integer endianness .