## File::WriteAllBytes method


يستبدل الملف الثنائي المحدد ويكتب البايتات المحددة فيه.

```cpp
static void System::IO::File::WriteAllBytes(const String &path, const ArrayPtr<uint8_t> &bytes)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| المسار | const String\& | الملف للكتابة إليه |
| بايتات | const ArrayPtr\<uint8_t\>\& | مصفوفة البايت التي تحتوي على البايتات للكتابة إلى الملف المحدد |

## انظر أيضًا

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
