public function writeBytes(string $buf, int $num = null) : int { unset($buf); unset($num); throw new CryptoException\FileAccessDenied('This is a read-only file handle.'); }