好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

按字节地复制文件

按字节地复制文件

FileStream srcfile = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read);
FileStream desfile = new FileStream(path2, FileMode.Create, FileAccess.Write, FileShare.Write);

int Length = (int) srcfile.Length;
byte[] arrBytes = new byte [Length];
srcfile.Read(arrBytes, 0 , Length);
desfile.Write(arrBytes, 0 , Length);

查看更多关于按字节地复制文件的详细内容...

  阅读:42次

上一篇: about FVWM

下一篇:CSS2