Open KrzysztofCwalina opened 8 years ago
Will it be extension methods to Stream?
We need API proposal (maybe Stream is not the right place, maybe it is).
cc: @JeremyKuhne @ianhays
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.
This process is part of our issue cleanup automation.
In many scenarios, there is a need to read binary data from a stream without allocating BinaryReader. See System.Resources.Reader as an example. We should add such non-allocating static reader APIs, e.g. int ReadInt32(Stream stream).