/** * Create a new QtiBinaryStreamAccess object. * * @param IStream $stream The IStream object to be accessed. * @throws BinaryStreamAccessException If $stream is not open yet. */ public function __construct(IStream $stream) { parent::__construct($stream); }
/** * Create a new QtiBinaryStreamAccess object. * * @param \qtism\common\storage\IStream $stream The IStream object to be accessed. * @throws \qtism\common\storage\BinaryStreamAccessException If $stream is not open yet. */ public function __construct(IStream $stream, FileManager $fileManager) { parent::__construct($stream); $this->setFileManager($fileManager); }