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
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
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 にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET