WriteAllBytes()

File::WriteAllBytes(const String&, const ArrayPtr<uint8_t>&) 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)

Arguments

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