System::IO::File::WriteAllBytes method

File::WriteAllBytes method

Overwrites the specified binary file and writes the specified bytes to it.

static void System::IO::File::WriteAllBytes(const String &path, const ArrayPtr<uint8_t> &bytes)
ParameterTypeDescription
pathconst String&The file to write to
bytesconst ArrayPtr<uint8_t>&The byte array containing the bytes to write to the specified file

See Also