MemoryBufferWriter Struct
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.
A IBufferWriter<T> implementation for Memory<T>
C#
public struct MemoryBufferWriter : System.Buffers.IBufferWriter<byte>
type MemoryBufferWriter = struct
interface IBufferWriter<byte>
Public Structure MemoryBufferWriter
Implements IBufferWriter(Of Byte)
- Inheritance
-
MemoryBufferWriter
- Implements
Bytes |
Gets the number of bytes written. |
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 |
Product | Versions |
---|---|
.NET Orleans | 7.0.0, 8.0.0, 8.1.0, 8.2.0 |