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 Memory Overrides to Streams #47125

Merged

Commits on Jan 18, 2021

  1. System.IO.Compression.DeflateStream.CopyToStream

    -Implemented memory-based WriteAsync in DeflateStream.CopyToStream class.
    
    This required implementing a memory-based overload of System.IO.Inflater.SetInput(). Previously, Inflater used a GCHandle to pin the array that was passed into SetInput. I converted it to use a MemoryHandle, and changed the array-based overload of SetInput to delegate to the new Memory-based overload.
    NewellClark committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    5a4550f View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. Configuration menu
    Copy the full SHA
    e4c08b8 View commit details
    Browse the repository at this point in the history
  2. Memorify RequestStream

    - Memory overrides for System.Net.RequestStream
    - Memory overrides for System.Net.NetworkStreamWrapper
    NewellClark committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    eb07c36 View commit details
    Browse the repository at this point in the history
  3. Spanified ChunkedMemoryStream

    WriteAsync is implemented in terms of Write, so I went ahead and implemented Write(ReadOnlySpan<byte>). 
    For some reason, AsSpan() isn't available in this file.
    NewellClark committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    27b9f3b View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. Apply suggested changes

    NewellClark committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    5115f68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    085cf33 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Configuration menu
    Copy the full SHA
    cc0ec94 View commit details
    Browse the repository at this point in the history