| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
FileStream.Read returns (bytes read, buffer), not just bytes read as the buffer is passed by reference. This is a bit unintuative, but checking the position is clear and less error prone.
| Back | FazBrowse Home | New Git URL |
Open CSharp Interactive:
Open wordpad demo
Now open C:\Test\file.txt.
Expected:
Actual:
While looking at this. Is it a bug that Encoding.GetString() returns a tuple? It doesn't have any ref or out parameters and should return a single value IMHO...