## File::ReadAllBytes method


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

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| المسار | const String\& | مسار الملف للقراءة |

### ReturnValue

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

## انظر أيضًا

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