System::IO::File::ReadAllBytes‑metod
File::ReadAllBytes method
Läser innehållet i den angivna binära filen till en bytearray.
static ArrayPtr<uint8_t> System::IO::File::ReadAllBytes(const String &path)
| Parameter | Type | Beskrivning |
|---|---|---|
| sökväg | const String& | Sökvägen till filen som ska läsas |
ReturnValue
En bytearray som innehåller filens innehåll
Se även
- Typedef ArrayPtr
- Class String
- Class File
- Namespace System::IO
- Library Aspose.Page for C++