Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BinaryReader Span-based APIs #22851

Closed
4 tasks
stephentoub opened this issue Jul 19, 2017 · 1 comment
Closed
4 tasks

Add BinaryReader Span-based APIs #22851

stephentoub opened this issue Jul 19, 2017 · 1 comment
Labels
api-approved API was approved in API review, it can be implemented area-System.IO help wanted [up-for-grabs] Good issue for external contributors tenet-performance Performance related issue
Milestone

Comments

@stephentoub
Copy link
Member

Separated out of https://github.com/dotnet/corefx/issues/21281 for tracking purposes.

  • Implement in System.Private.CoreLib in coreclr
  • Implement in System.Private.CoreLib in corert (if BinaryReader isn't yet in "shared")
  • Expose from System.IO contract in corefx
  • Add tests to System.IO tests in corefx
namespace System.IO
{
    public class BinaryReader
    {
        public virtual int Read(Span<byte> destination);
        public virtual int Read(Span<char> destination);}
}
@pjanotti
Copy link
Contributor

/cc @stephentoub closing per PRs above

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 2.1.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api-approved API was approved in API review, it can be implemented area-System.IO help wanted [up-for-grabs] Good issue for external contributors tenet-performance Performance related issue
Projects
None yet
Development

No branches or pull requests

3 participants