ArrayStreamBufferWriter Struct
W tym artykule
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.
An implementation of IBufferWriter<T> which writes to a Stream, using an array as an intermediate buffer.
public struct ArrayStreamBufferWriter : System.Buffers.IBufferWriter<byte>
type ArrayStreamBufferWriter = struct
interface IBufferWriter<byte>
Public Structure ArrayStreamBufferWriter
Implements IBufferWriter(Of Byte)
- Inheritance
-
ArrayStreamBufferWriter
- Implements
Constructors
|
Array |
Initializes a new instance of the ArrayStreamBufferWriter struct. |
Fields
Methods
| Advance(Int32) | Notifies the IBufferWriter<T> that |
|
Get |
Returns a Memory<T> to write to that is at least the requested size (specified by |
|
Get |
Returns a Span<T> to write to that is at least the requested size (specified by |
Applies to
| Produkt | Wersje |
|---|---|
| .NET Orleans | 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |