public function readIdentifier()
    {
        try {
            return $this->readString();
        } catch (BinaryStreamAccessException $e) {
            $msg = "An error occured while reading an identifier.";
            throw new QtiBinaryStreamAccessException($msg, $this, QtiBinaryStreamAccessException::IDENTIFIER, $e);
        }
    }
public function readIdentifier()
    {
        try {
            return $this->readString();
        } catch (BinaryStreamAccessException $e) {
            $msg = "An error occured while reading an identifier.";
            throw new QtiBinaryStreamAccessException($msg, $this, QtiBinaryStreamAccessException::IDENTIFIER, $e);
        }
    }
public function readIdentifier ( ) { try { return $ this -> readString ( ) ; } catch ( BinaryStreamAccessException $ e ) { $ msg = "An error occured while reading an identifier." ; throw new QtiBinaryStreamAccessException ( $ msg , $ this , QtiBinaryStreamAccessException :: IDENTIFIER , $ e ) ; } }
Read an identifier from the current binary stream.

@throws \qtism\runtime\storage\binary\QtiBinaryStreamAccessException
@return string An identifier.
Read an identifier from the current binary stream .