# Codec_EventHubBatchContainer

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

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

```csharp
public sealed class Codec_EventHubBatchContainer : IFieldCodec, IFieldCodec<EventHubBatchContainer>, IBaseCodec, IBaseCodec<EventHubBatchContainer>
```

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_EventHubBatchContainer(IActivator&lt;EventHubBatchContainer&gt;, ICodecProvider)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleanscodegen.orleans.streaming.eventhubs.codec-eventhubbatchcontainer/constructors/constructor-orleans-serialization-activators-iactivator-orleans-streaming-eventh-a4f1c6a4/)

## Methods

- [Deserialize(Reader&lt;TReaderInput&gt;, EventHubBatchContainer)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleanscodegen.orleans.streaming.eventhubs.codec-eventhubbatchcontainer/methods/deserialize-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-stre-ccd090d3/)
- [ReadValue(Reader&lt;TReaderInput&gt;, Field)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleanscodegen.orleans.streaming.eventhubs.codec-eventhubbatchcontainer/methods/readvalue-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-serial-11394ee6/)
- [Serialize(Writer&lt;TBufferWriter&gt;, EventHubBatchContainer)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleanscodegen.orleans.streaming.eventhubs.codec-eventhubbatchcontainer/methods/serialize-1-ref-orleans-serialization-buffers-writer-tbufferwriter-orleans-strea-e7ea4e38/)
- [WriteField(Writer&lt;TBufferWriter&gt;, uint, Type, EventHubBatchContainer)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleanscodegen.orleans.streaming.eventhubs.codec-eventhubbatchcontainer/methods/writefield-1-ref-orleans-serialization-buffers-writer-tbufferwriter-uint-system-814160a4/)
