DirectoryHelperCreateFile Method (String, Byte) | Helper帮助文档 |
创建一个文件,并将字节流写入文件。
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void CreateFile( string filePath, byte[] buffer )
Public Shared Sub CreateFile ( filePath As String, buffer As Byte() )
public: static void CreateFile( String^ filePath, array<unsigned char>^ buffer )
static member CreateFile : filePath : string * buffer : byte[] -> unit
Parameters
- filePath
- Type: SystemString
文件的绝对路径 - buffer
- Type: SystemByte
二进制流数据
See Also