## File::ReadAllBytes method


Liest den Inhalt der angegebenen Binärdatei in ein Byte-Array.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Pfad | const String\& | Der Pfad der zu lesenden Datei |

### ReturnValue

Ein Byte‑Array, das den Inhalt der Datei enthält

## Siehe auch

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