- Notifications
You must be signed in to change notification settings - Fork752
Commit88b3d27
committed
Use stream position instead of counting read bytes.
FileStream.Read returns (bytes read, buffer), not just bytes read as thebuffer is passed by reference. This is a bit unintuative, but checking theposition is clear and less error prone.1 parent9f562be commit88b3d27
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
319 |
| - | |
320 | 319 |
| |
321 |
| - | |
| 320 | + | |
322 | 321 |
| |
323 |
| - | |
| 322 | + | |
324 | 323 |
| |
325 | 324 |
| |
326 | 325 |
| |
|
0 commit comments
Comments
(0)