Reads binary content from a file if it contains binary data.
public static bool TryReadBinaryFile(this Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem vfs, string filePath, out byte[]? binaryContent);The virtual file system.
filePath System.String
The file path as a string.
binaryContent System.Byte[]
The binary content if successful.
System.Boolean
True if binary content was read successfully, false otherwise.