# Codec_PubSubSubscriptionState

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_PubSubSubscriptionState : IFieldCodec, IFieldCodec<PubSubSubscriptionState>
```

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_PubSubSubscriptionState(IActivator&lt;PubSubSubscriptionState&gt;, ICodecProvider)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.codec-pubsubsubscriptionstate/constructors/constructor-orleans-serialization-activators-iactivator-orleans-streams-pubsubsu-ede9ecd3/)

## Methods

- [Deserialize(Reader&lt;TReaderInput&gt;, PubSubSubscriptionState)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.codec-pubsubsubscriptionstate/methods/deserialize-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-stre-aca4902d/)
- [ReadValue(Reader&lt;TReaderInput&gt;, Field)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.codec-pubsubsubscriptionstate/methods/readvalue-1-ref-orleans-serialization-buffers-reader-treaderinput-orleans-serial-562f35e8/)
- [Serialize(Writer&lt;TBufferWriter&gt;, PubSubSubscriptionState)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.codec-pubsubsubscriptionstate/methods/serialize-1-ref-orleans-serialization-buffers-writer-tbufferwriter-orleans-strea-b95287ec/)
- [WriteField(Writer&lt;TBufferWriter&gt;, uint, Type, PubSubSubscriptionState)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleanscodegen.orleans.streams.codec-pubsubsubscriptionstate/methods/writefield-1-ref-orleans-serialization-buffers-writer-tbufferwriter-uint-system-e3bbf726/)
