evseevnn\Cassandra\Protocol\Response\DataStream::readFloat PHP Méthode

readFloat() public méthode

Read float.
public readFloat ( boolean $isCollectionElement = false ) : float
$isCollectionElement boolean
Résultat float
    public function readFloat($isCollectionElement = false)
    {
        if ($isCollectionElement) {
            $this->readShort();
        }
        return unpack('f', strrev($this->read(4)))[1];
    }