Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.88 KB

File metadata and controls

33 lines (20 loc) · 1.88 KB

VFSBinaryExtensions.TryWriteBinaryFile(this IVirtualFileSystem, string, byte[]) Method

Writes binary content to an existing file.

public static bool TryWriteBinaryFile(this Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem vfs, string filePath, byte[] binaryContent);

Parameters

vfs IVirtualFileSystem

The virtual file system.

filePath System.String

The file path as a string.

binaryContent System.Byte[]

The binary content to write.

Returns

System.Boolean
True if the binary content was written successfully, false otherwise.