Skip to content

TestMultiSegmentBufferWriter

class

Namespace: Orleans.Serialization.TestKit

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class TestMultiSegmentBufferWriter : IOutputBuffer, IBufferWriter<byte>

Constructors

Methods

  • Advance(int)Notifies the System.Buffers.IBufferWriter that count data items were written to the output System.Span or System.Memory.
  • GetMemory(int)Returns a System.Memory to write to that is at least the requested size (specified by sizeHint).
  • GetReadOnlySequence(int)
  • GetSpan(int)Returns a System.Span to write to that is at least the requested size (specified by sizeHint).
  • PeekAllBuffers