JHStream.ToBuffer Method (String)

DCSoft.DBUtilityGeneric

JHStreamToBuffer Method (String)
将指定文件转换为字节数组,异常直接抛出

Namespace: DCSoft.Utility.IO
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static byte[] ToBuffer(
	string fileName
)

Parameters

fileName
Type: SystemString
文件的完全限定名

Return Value

Type: Byte
返回对应的字节数组
See Also