A
ad
I new a buffer for read file:
How to detriminate the BolockSize when new the buffer?
-----------------------------------------------------------------------------------------------------------------------------------------
int BlockSize=????
System.IO.FileStream fsRead = new System.IO.FileStream("c:\Backup.bck",
System.IO.FileMode.Open, System.IO.FileAccess.Read);
byte[] buffer = new byte[BlockSize];
System.Int32 size = fsRead.Read(buffer, 0, buffer.Length);
How to detriminate the BolockSize when new the buffer?
-----------------------------------------------------------------------------------------------------------------------------------------
int BlockSize=????
System.IO.FileStream fsRead = new System.IO.FileStream("c:\Backup.bck",
System.IO.FileMode.Open, System.IO.FileAccess.Read);
byte[] buffer = new byte[BlockSize];
System.Int32 size = fsRead.Read(buffer, 0, buffer.Length);