# Codec_GeneratedBatchContainer

Package: [Microsoft.Orleans.Streaming](/orleans/docs/api/csharp/microsoft.orleans.streaming/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming)

```csharp
public sealed class Codec_GeneratedBatchContainer : IFieldCodec, IFieldCodec<GeneratedBatchContainer>
```

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

- [Codec_GeneratedBatchContainer(IActivator&lt;GeneratedBatchContainer&gt;, ICodecProvider)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.providers.streams.generator.codec-generatedbatchcontainer/constructors/constructor-orleans-serialization-activators-iactivator-orleans-providers-stream-654f8ea8/)

## Methods

- [Deserialize(Reader&lt;TReaderInput&gt;, GeneratedBatchContainer)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.providers.streams.generator.codec-generatedbatchcontainer/methods/deserialize-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-prov-8fd9b823/)
- [ReadValue(Reader&lt;TReaderInput&gt;, Field)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.providers.streams.generator.codec-generatedbatchcontainer/methods/readvalue-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-serial-9e2f12e0/)
- [Serialize(Writer&lt;TBufferWriter&gt;, GeneratedBatchContainer)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.providers.streams.generator.codec-generatedbatchcontainer/methods/serialize-1-ref-orleans-serialization-buffers-writer-tbufferwriter-orleans-provi-564b5d4e/)
- [WriteField(Writer&lt;TBufferWriter&gt;, uint, Type, GeneratedBatchContainer)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.providers.streams.generator.codec-generatedbatchcontainer/methods/writefield-1-ref-orleans-serialization-buffers-writer-tbufferwriter-uint-system-5267aa0e/)
