Redigera

Dela via


Serializer<T> Class

Definition

Serializes and deserializes values.

public sealed class Serializer<T>
type Serializer<'T> = class
Public NotInheritable Class Serializer(Of T)

Type Parameters

T

The type of value which this instance serializes and deserializes.

Inheritance
Serializer<T>

Constructors

Serializer<T>(IFieldCodec<T>, SerializerSessionPool)

Initializes a new instance of the Serializer<T> class.

Serializer<T>(SerializerSessionPool)

Initializes a new instance of the Serializer<T> class.

Methods

Deserialize(ArraySegment<Byte>, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ArraySegment<Byte>)

Deserialize a value of type T from source.

Deserialize(Byte[], SerializerSession)

Deserialize a value of type T from source.

Deserialize(Byte[])

Deserialize a value of type T from source.

Deserialize(PooledBuffer+BufferSlice, SerializerSession)

Deserialize a value of type T from source.

Deserialize(PooledBuffer+BufferSlice)

Deserialize a value of type T from source.

Deserialize(ReadOnlyMemory<Byte>, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ReadOnlyMemory<Byte>)

Deserialize a value of type T from source.

Deserialize(ReadOnlySequence<Byte>, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ReadOnlySequence<Byte>)

Deserialize a value of type T from source.

Deserialize(ReadOnlySpan<Byte>, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ReadOnlySpan<Byte>)

Deserialize a value of type T from source.

Deserialize(Stream, SerializerSession)

Deserialize a value of type T from source.

Deserialize(Stream)

Deserialize a value of type T from source.

Deserialize<TInput>(Reader<TInput>)

Deserialize a value of type T from source.

Serialize(T, Byte[], SerializerSession)

Serializes the provided value into destination.

Serialize(T, Byte[])

Serializes the provided value into destination.

Serialize(T, Memory<Byte>, SerializerSession)

Serializes the provided value into destination.

Serialize(T, Memory<Byte>)

Serializes the provided value into destination.

Serialize(T, Span<Byte>, SerializerSession)

Serializes the provided value into destination.

Serialize(T, Span<Byte>)

Serializes the provided value into destination.

Serialize(T, Stream, Int32)

Serializes the provided value into destination.

Serialize(T, Stream, SerializerSession, Int32)

Serializes the provided value into destination.

Serialize<TBufferWriter>(T, TBufferWriter, SerializerSession)

Serializes the provided value into destination.

Serialize<TBufferWriter>(T, TBufferWriter)

Serializes the provided value into destination.

Serialize<TBufferWriter>(T, Writer<TBufferWriter>)

Serializes the provided value into destination.

SerializeToArray(T)

Serializes the provided value into a new array.

Applies to