Skip to content

Add BinaryWriter Span-based APIs #22852

@stephentoub

Description

@stephentoub

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 BinaryWriter 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 BinaryWriter
    {
        public virtual void Write(ReadOnlySpan<byte> value);
        public virtual void Write(ReadOnlySpan<char> value);}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-approvedAPI was approved in API review, it can be implementedarea-System.IOhelp wanted[up-for-grabs] Good issue for external contributorstenet-performancePerformance related issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions