コード例 #1
0
ファイル: Encryption.php プロジェクト: rchicoli/owncloud-core
 /**
  * call stream_seek() from parent class
  *
  * @param integer $position
  * @return bool
  */
 protected function parentStreamSeek($position)
 {
     return parent::stream_seek($position);
 }
コード例 #2
0
ファイル: encryption.php プロジェクト: adolfo2103/hcloudfilem
 /**
  * write header at beginning of encrypted file
  *
  * @return integer
  * @throws EncryptionHeaderKeyExistsException if header key is already in use
  */
 private function writeHeader()
 {
     $header = $this->util->createHeader($this->newHeader, $this->encryptionModule);
     return parent::stream_write($header);
 }