public function readPath() {
        try {
            $pathCount = $this->readShort();
            $path = array();
            
            for ($i = 0; $i < $pathCount; $i++) {
                $path[] = $this->readShort();
            }
            
            return $path;
        } catch (BinaryStreamAccessException $e) {
            $msg = "An error occured while reading the path.";
    		throw new QtiBinaryStreamAccessException($msg, $this, QtiBinaryStreamAccessException::PATH, $e);
        }
    }
public function readPath() {
        try {
            $pathCount = $this->readShort();
            $path = array();
            
            for ($i = 0; $i < $pathCount; $i++) {
                $path[] = $this->readShort();
            }
            
            return $path;
        } catch (BinaryStreamAccessException $e) {
            $msg = "An error occured while reading the path.";
    		throw new QtiBinaryStreamAccessException($msg, $this, QtiBinaryStreamAccessException::PATH, $e);
        }
    }
public function readPath ( ) { try { $ pathCount = $ this -> readShort ( ) ; $ path = array ( ) ; for ( $ i = 0 ; $ i < $ pathCount ; $ i ++ ) { $ path [ ] = $ this -> readShort ( ) ; } return $ path ; } catch ( BinaryStreamAccessException $ e ) { $ msg = "An error occured while reading the path." ; throw new QtiBinaryStreamAccessException ( $ msg , $ this , QtiBinaryStreamAccessException :: PATH , $ e ) ; } }
Read the path from the current binary stream.

@return array An array of integer values representing flow positions.
Read the path from the current binary stream .