# TestMultiSegmentBufferWriter

Package: [Microsoft.Orleans.Serialization.TestKit](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Serialization.TestKit) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization.TestKit/TestMultiSegmentBufferWriter.cs#L11)

```csharp
public class TestMultiSegmentBufferWriter : IOutputBuffer, IBufferWriter<byte>
```

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.

## Constructors

- [TestMultiSegmentBufferWriter(int)](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/orleans.serialization.testkit.testmultisegmentbufferwriter/constructors/constructor-int-80f38573/)

## Methods

- [Advance(int)](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/orleans.serialization.testkit.testmultisegmentbufferwriter/methods/advance-int-43f5fe52/)
- [GetMemory(int)](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/orleans.serialization.testkit.testmultisegmentbufferwriter/methods/getmemory-int-d447eb84/)
- [GetReadOnlySequence(int)](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/orleans.serialization.testkit.testmultisegmentbufferwriter/methods/getreadonlysequence-int-c8b95ea3/)
- [GetSpan(int)](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/orleans.serialization.testkit.testmultisegmentbufferwriter/methods/getspan-int-a819f73f/)
- [PeekAllBuffers](/orleans/docs/api/csharp/microsoft.orleans.serialization.testkit/orleans.serialization.testkit.testmultisegmentbufferwriter/methods/peekallbuffers-e20e1402/)
