ArraySegmentCodec<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 ArraySegment<T>.
[Orleans.RegisterSerializer]
public sealed class ArraySegmentCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<ArraySegment<T>>
[<Orleans.RegisterSerializer>]
type ArraySegmentCodec<'T> = class
interface IFieldCodec<ArraySegment<'T>>
interface IFieldCodec
Public NotInheritable Class ArraySegmentCodec(Of T)
Implements IFieldCodec(Of ArraySegment(Of T))
Type Parameters
- T
The element type.
- Inheritance
-
ArraySegmentCodec<T>
- Attributes
- Implements
Constructors
ArraySegmentCodec<T>(IFieldCodec<T>) |
Initializes a new instance of the ArraySegmentCodec<T> class. |
Methods
ReadValue<TInput>(Reader<TInput>, Field) |
Reads a value. |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, ArraySegment<T>) |
Writes a field. |