 | FileExCreateFile 方法 (String, Byte) |
Sweet 开发框架
创建一个文件,并将字节流写入文件。
命名空间:
Sweet.Common
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static bool CreateFile(
string filePath,
byte[] buffer
)
Public Shared Function CreateFile (
filePath As String,
buffer As Byte()
) As Boolean
static member CreateFile :
filePath : string *
buffer : byte[] -> bool
参数
- filePath
- 类型:SystemString
文件的绝对路径 - buffer
- 类型:SystemByte
二进制流数据
返回值
类型:
Boolean结果
参见