public function readList(array $definition) {
        list($valueType) = $definition;
        $list = [];
        $count = $this->readInt();
        for ($i = 0; $i < $count; ++$i) {
            $list[] = $this->readValue($valueType);
        }
        return $list;
    }
public function readList(array $definition) {
        list($valueType) = $definition;
        $list = [];
        $count = $this->readInt();
        for ($i = 0; $i < $count; ++$i) {
            $list[] = $this->readValue($valueType);
        }
        return $list;
    }
public function readList ( array $ definition ) { list ( $ valueType ) = $ definition ; $ list = [ ] ; $ count = $ this -> readInt ( ) ; for ( $ i = 0 ; $ i < $ count ; ++ $ i ) { $ list [ ] = $ this -> readValue ( $ valueType ) ; } return $ list ; }
Read list.

@param array $definition [$valueType]
@return array
Read list .