Edit

Share via


ObjectSerializer Class

Definition

Provides methods for serializing and deserializing values which have types which are not statically known.

public sealed class ObjectSerializer
type ObjectSerializer = class
Public NotInheritable Class ObjectSerializer
Inheritance
ObjectSerializer

Constructors

ObjectSerializer(SerializerSessionPool)

Initializes a new instance of the ObjectSerializer class.

Methods

CanSerialize(Type)

Returns true if the provided type, type, can be serialized, and false otherwise.

Deserialize(ArraySegment<Byte>, SerializerSession, Type)

Deserialize a value of type type from source.

Deserialize(ArraySegment<Byte>, Type)

Deserialize a value of type type from source.

Deserialize(Byte[], SerializerSession, Type)

Deserialize a value of type type from source.

Deserialize(Byte[], Type)

Deserialize a value of type type from source.

Deserialize(ReadOnlyMemory<Byte>, SerializerSession, Type)

Deserialize a value of type type from source.

Deserialize(ReadOnlyMemory<Byte>, Type)

Deserialize a value of type type from source.

Deserialize(ReadOnlySequence<Byte>, SerializerSession, Type)

Deserialize a value of type type from source.

Deserialize(ReadOnlySequence<Byte>, Type)

Deserialize a value of type type from source.

Deserialize(ReadOnlySpan<Byte>, SerializerSession, Type)

Deserialize a value of type type from source.

Deserialize(ReadOnlySpan<Byte>, Type)

Deserialize a value of type type from source.

Deserialize(Stream, SerializerSession, Type)

Deserialize a value of type type from source.

Deserialize(Stream, Type)

Deserialize a value of type type from source.

Deserialize<TInput>(Reader<TInput>, Type)

Deserialize a value of type type from source.

Serialize(Object, ArraySegment<Byte>, SerializerSession, Type)

Serializes the provided value into destination.

Serialize(Object, ArraySegment<Byte>, Type)

Serializes the provided value into destination.

Serialize(Object, Byte[], SerializerSession, Type)

Serializes the provided value into destination.

Serialize(Object, Byte[], Type)

Serializes the provided value into destination.

Serialize(Object, Memory<Byte>, SerializerSession, Type)

Serializes the provided value into destination.

Serialize(Object, Memory<Byte>, Type)

Serializes the provided value into destination.

Serialize(Object, Span<Byte>, SerializerSession, Type)

Serializes the provided value into destination.

Serialize(Object, Span<Byte>, Type)

Serializes the provided value into destination.

Serialize(Object, Stream, SerializerSession, Type, Int32)

Serializes the provided value into destination.

Serialize(Object, Stream, Type, Int32)

Serializes the provided value into destination.

Serialize<TBufferWriter>(Object, TBufferWriter, SerializerSession, Type)

Serializes the provided value into destination.

Serialize<TBufferWriter>(Object, TBufferWriter, Type)

Serializes the provided value into destination.

Serialize<TBufferWriter>(Object, Writer<TBufferWriter>, Type)

Serializes the provided value into destination.

Applies to