MemoryCodec<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializer for Memory<T>.
[Orleans.RegisterSerializer]
public sealed class MemoryCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<Memory<T>>
[<Orleans.RegisterSerializer>]
type MemoryCodec<'T> = class
interface IFieldCodec<Memory<'T>>
interface IFieldCodec
Public NotInheritable Class MemoryCodec(Of T)
Implements IFieldCodec(Of Memory(Of T))
Type Parameters
- T
The element type.
- Inheritance
-
MemoryCodec<T>
- Attributes
- Implements
Constructors
MemoryCodec<T>(IFieldCodec<T>) |
Initializes a new instance of the MemoryCodec<T> class. |
Methods
ReadValue<TInput>(Reader<TInput>, Field) |
Reads a value. |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Memory<T>) |
Writes a field. |