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)
ParameterTypeBeskrivning
sökvägconst String&Sökvägen till filen som ska läsas

ReturnValue

En bytearray som innehåller filens innehåll

Se även