WriteAllBytes(FileInfo, byte[]) Method

Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten.
Namespace: Z.IO.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static Void WriteAllBytes(this FileInfo this, byte[] bytes)

Parameters

this
Type:  FileInfo
The file to write to.
bytes
Type:  Byte[]
The bytes to write to the file.

Return Value

Type:  Void
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)