src/Bunny/Protocol/Buffer.php
public function readFloat($offset = 0)
    {
        $s = $this->read(4, $offset);
        list(, $ret) = unpack("f", self::$isLittleEndian ? self::swapEndian32($s) : $s);
        return $ret;
    }
public function readFloat($offset = 0)
    {
        $s = $this->read(4, $offset);
        list(, $ret) = unpack("f", self::$isLittleEndian ? self::swapEndian32($s) : $s);
        return $ret;
    }
public function readFloat ( $ offset = 0 ) { $ s = $ this -> read ( 4 , $ offset ) ; list ( , $ ret ) = unpack ( "f" , self :: $ isLittleEndian ? self :: swapEndian32 ( $ s ) : $ s ) ; return $ ret ; }
Reads float from buffer.

@param int $offset
@return float
Reads float from buffer .