evseevnn\Cassandra\Protocol\Response\DataStream::readList PHP Method

readList() public method

Read list.
public readList ( $valueType ) : array
$valueType
return array
    public function readList($valueType)
    {
        $list = array();
        $count = $this->readShort();
        for ($i = 0; $i < $count; ++$i) {
            $list[] = $this->readByType($valueType, true);
        }
        return $list;
    }