## File::ReadAllBytes method


يقرأ محتوى الملف الثنائي المحدد إلى مصفوفة بايت.

```cpp
static ArrayPtr<uint8_t> System::IO::File::ReadAllBytes(const String &path)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| مسار | const String\& | مسار الملف الذي سيتم قراءته |

### ReturnValue

مصفوفة بايت تحتوي على محتوى الملف

## انظر أيضًا

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