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 UsePipeReader and UsePipeWriter extension methods on Stream #11

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

AArnott
Copy link
Collaborator

@AArnott AArnott commented Jul 18, 2018

This allows accessing a stream using the pipe API.

These extension methods perform the opposite function to the PipeStream class, which converts pipe reader/writer into a Stream.

@AArnott AArnott self-assigned this Jul 18, 2018
@codecov
Copy link

codecov bot commented Jul 18, 2018

Codecov Report

Merging #11 into master will decrease coverage by 1.58%.
The diff coverage is 85.39%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   91.34%   89.75%   -1.59%     
==========================================
  Files          12       12              
  Lines         820      908      +88     
  Branches       91      100       +9     
==========================================
+ Hits          749      815      +66     
- Misses         46       61      +15     
- Partials       25       32       +7
Impacted Files Coverage Δ
src/Nerdbank.Streams/StreamExtensions.cs 85.55% <85.39%> (-14.45%) ⬇️
src/Nerdbank.Streams/MultiplexingStream.Channel.cs 92.3% <0%> (-5.13%) ⬇️
src/Nerdbank.Streams/FullDuplexStream.cs 98.19% <0%> (-1.81%) ⬇️
src/Nerdbank.Streams/MultiplexingStream.cs 80.24% <0%> (-1.58%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update efa65e9...f23d35e. Read the comment docs.

@AArnott AArnott merged commit 766f9a3 into master Jul 18, 2018
@AArnott AArnott deleted the StreamAsPipe branch July 18, 2018 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant