CanSerialize(Type)
public bool CanSerialize(Type type) Returns
true if the provided type, type, can be serialized, and false otherwise. Parameters
typeType
public bool CanSerialize(Type type)true if the provided type, type, can be serialized, and false otherwise. typeTypepublic object Deserialize(ArraySegment<byte> source, SerializerSession session, Type type)type from source. sourceArraySegment<byte>sessionSerializerSessiontypeTypepublic object Deserialize(ArraySegment<byte> source, Type type)type from source. sourceArraySegment<byte>typeTypepublic object Deserialize(ReadOnlyMemory<byte> source, SerializerSession session, Type type)type from source. sourceReadOnlyMemory<byte>sessionSerializerSessiontypeTypepublic object Deserialize(ReadOnlyMemory<byte> source, Type type)type from source. sourceReadOnlyMemory<byte>typeTypepublic object Deserialize(ReadOnlySequence<byte> source, SerializerSession session, Type type)type from source. sourceReadOnlySequence<byte>sessionSerializerSessiontypeTypepublic object Deserialize(ReadOnlySequence<byte> source, Type type)type from source. sourceReadOnlySequence<byte>typeTypepublic object Deserialize(ReadOnlySpan<byte> source, SerializerSession session, Type type)type from source. sourceReadOnlySpan<byte>sessionSerializerSessiontypeTypepublic object Deserialize(ReadOnlySpan<byte> source, Type type)type from source. sourceReadOnlySpan<byte>typeTypepublic object Deserialize(Stream source, SerializerSession session, Type type)type from source. sourceStreamsessionSerializerSessiontypeTypepublic object Deserialize(Stream source, Type type)type from source. sourceStreamtypeTypepublic object Deserialize(byte[] source, SerializerSession session, Type type)type from source. sourcebyte[]sessionSerializerSessiontypeTypepublic object Deserialize(byte[] source, Type type)type from source. sourcebyte[]typeTypepublic object Deserialize<TInput>(ref Reader<TInput> source, Type type)type from source. sourceReader<TInput>typeTypepublic int Serialize(object value, ArraySegment<byte> destination, SerializerSession session, Type type)value into destination. valueobjectdestinationArraySegment<byte>sessionSerializerSessiontypeTypepublic int Serialize(object value, ArraySegment<byte> destination, Type type)value into destination. valueobjectdestinationArraySegment<byte>typeTypepublic int Serialize(object value, byte[] destination, SerializerSession session, Type type)value into destination. valueobjectdestinationbyte[]sessionSerializerSessiontypeTypepublic int Serialize(object value, byte[] destination, Type type)value into destination. valueobjectdestinationbyte[]typeTypepublic void Serialize(object value, Stream destination, SerializerSession session, Type type, int sizeHint = 0)value into destination. valueobjectdestinationStreamsessionSerializerSessiontypeTypesizeHintintpublic void Serialize(object value, Stream destination, Type type, int sizeHint = 0)value into destination. valueobjectdestinationStreamtypeTypesizeHintintpublic void Serialize(object value, ref Memory<byte> destination, SerializerSession session, Type type)value into destination. valueobjectdestinationMemory<byte>sessionSerializerSessiontypeTypepublic void Serialize(object value, ref Memory<byte> destination, Type type)value into destination. valueobjectdestinationMemory<byte>typeTypepublic void Serialize(object value, ref Span<byte> destination, SerializerSession session, Type type)value into destination. valueobjectdestinationSpan<byte>sessionSerializerSessiontypeTypepublic void Serialize(object value, ref Span<byte> destination, Type type)value into destination. valueobjectdestinationSpan<byte>typeTypepublic void Serialize<TBufferWriter>(object value, TBufferWriter destination, SerializerSession session, Type type)value into destination. valueobjectdestinationTBufferWritersessionSerializerSessiontypeTypepublic void Serialize<TBufferWriter>(object value, TBufferWriter destination, Type type)value into destination. valueobjectdestinationTBufferWritertypeTypepublic void Serialize<TBufferWriter>(object value, ref Writer<TBufferWriter> destination, Type type)value into destination. valueobjectdestinationWriter<TBufferWriter>typeType