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. valueobject?destinationArraySegment<byte>sessionSerializerSessiontypeTypepublic int Serialize(object? value, ArraySegment<byte> destination, Type type)value into destination. valueobject?destinationArraySegment<byte>typeTypepublic int Serialize(object? value, byte[] destination, SerializerSession session, Type type)value into destination. valueobject?destinationbyte[]sessionSerializerSessiontypeTypepublic int Serialize(object? value, byte[] destination, Type type)value into destination. valueobject?destinationbyte[]typeTypepublic void Serialize(object? value, Stream destination, SerializerSession session, Type type, int sizeHint = 0)value into destination. valueobject?destinationStreamsessionSerializerSessiontypeTypesizeHintintpublic void Serialize(object? value, Stream destination, Type type, int sizeHint = 0)value into destination. valueobject?destinationStreamtypeTypesizeHintintpublic void Serialize(object? value, ref Memory<byte> destination, SerializerSession session, Type type)value into destination. valueobject?destinationMemory<byte>sessionSerializerSessiontypeTypepublic void Serialize(object? value, ref Memory<byte> destination, Type type)value into destination. valueobject?destinationMemory<byte>typeTypepublic void Serialize(object? value, ref Span<byte> destination, SerializerSession session, Type type)value into destination. valueobject?destinationSpan<byte>sessionSerializerSessiontypeTypepublic void Serialize(object? value, ref Span<byte> destination, Type type)value into destination. valueobject?destinationSpan<byte>typeTypepublic void Serialize<TBufferWriter>(object? value, TBufferWriter destination, SerializerSession session, Type type)value into destination. valueobject?destinationTBufferWritersessionSerializerSessiontypeTypepublic void Serialize<TBufferWriter>(object? value, TBufferWriter destination, Type type)value into destination. valueobject?destinationTBufferWritertypeTypepublic void Serialize<TBufferWriter>(object? value, ref Writer<TBufferWriter> destination, Type type)value into destination. valueobject?destinationWriter<TBufferWriter>typeType