Return the contents of a binary file as an array of bytes.
Use this function in stead of MemoRead() to read the contents of a binary file.
XSharp.Core (in XSharp.Core.dll) Version: 2.2a
Syntax View Source
cFile AS STRING
) AS BYTE
public static byte MemoReadBinary(
- Type: String
The name of the binary file to read from disk, including an optional drive, directory, and extension. SetDefault() and SetPath() settings are ignored; the Windows default is used unless you specify a drive and directory as part of the file name. No extension is assumed
The file as an array of bytes