点击或拖拽改变大小

Functions.MemoReadBinary 方法

X#
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
程序集:  XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法
 FUNCTION MemoReadBinary(
	cFile AS STRING
) AS BYTE[]
查看代码

参数

cFile
类型: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

返回值

类型:Byte
The file as an array of bytes
参见