摘要:
FileStream Read File [C#]This example shows how to safely read file using FileStream in C#. To be sure the whole file is correctly read, you should ca... 阅读全文
posted @ 2014-04-22 14:27
朱煜
阅读(376)
评论(0)
推荐(0)
摘要:
1、循环读取啊,byte[]可以定义为1024或者2049等等,不要超过int的maxvalue就可以。然后取出来操作完再去取。 1 FileStream stream = new FileStream(path); 2 byte[] writeData = new byte[8192]; 3 ... 阅读全文
posted @ 2014-04-22 14:26
朱煜
阅读(8795)
评论(0)
推荐(2)
浙公网安备 33010602011771号