c# Programming Glossary: nbytesread
.NET Asynchronous stream read/write http://stackoverflow.com/questions/1540658/net-asynchronous-stream-read-write with 4 kB dimension int offset 0 read write offset int nBytesRead 0 number of bytes read on each cycle IAsyncResult ar do read.. get number of bytes read on each cycle nBytesRead net.EndRead ar write partial content to file synchronously fs.Write.. content to file synchronously fs.Write buffer offset nBytesRead update offset offset nBytesRead while nBytesRead 0 The question..
|