PipeReader.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(ReadOnlySequence<Byte>) |
Creates a PipeReader wrapping the specified ReadOnlySequence<T>. |
Create(Stream, StreamPipeReaderOptions) |
Creates a PipeReader wrapping the specified Stream. |
Create(ReadOnlySequence<Byte>)
- Source:
- PipeReader.cs
- Source:
- PipeReader.cs
- Source:
- PipeReader.cs
- Source:
- PipeReader.cs
Creates a PipeReader wrapping the specified ReadOnlySequence<T>.
public:
static System::IO::Pipelines::PipeReader ^ Create(System::Buffers::ReadOnlySequence<System::Byte> sequence);
public static System.IO.Pipelines.PipeReader Create (System.Buffers.ReadOnlySequence<byte> sequence);
static member Create : System.Buffers.ReadOnlySequence<byte> -> System.IO.Pipelines.PipeReader
Public Shared Function Create (sequence As ReadOnlySequence(Of Byte)) As PipeReader
Parameters
- sequence
- ReadOnlySequence<Byte>
The sequence to wrap.
Returns
A PipeReader that wraps the ReadOnlySequence<T>.
Applies to
Create(Stream, StreamPipeReaderOptions)
- Source:
- PipeReader.cs
- Source:
- PipeReader.cs
- Source:
- PipeReader.cs
- Source:
- PipeReader.cs
Creates a PipeReader wrapping the specified Stream.
public static System.IO.Pipelines.PipeReader Create (System.IO.Stream stream, System.IO.Pipelines.StreamPipeReaderOptions? readerOptions = default);
static member Create : System.IO.Stream * System.IO.Pipelines.StreamPipeReaderOptions -> System.IO.Pipelines.PipeReader
Public Shared Function Create (stream As Stream, Optional readerOptions As StreamPipeReaderOptions = Nothing) As PipeReader
Parameters
- stream
- Stream
The stream that the pipe reader will wrap.
- readerOptions
- StreamPipeReaderOptions
The options to configure the pipe reader.
Returns
A PipeReader that wraps the Stream.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET