ValueSerializer<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.
Serializes and deserializes value types.
public sealed class ValueSerializer<T> where T : struct
type ValueSerializer<'T (requires 'T : struct)> = class
Public NotInheritable Class ValueSerializer(Of T)
Type Parameters
- T
The type which this instance operates on.
- Inheritance
-
ValueSerializer<T>
Constructors
ValueSerializer<T>(IValueSerializerProvider, SerializerSessionPool) |
Initializes a new instance of the ValueSerializer<T> class. |
Methods
Deserialize(ArraySegment<Byte>, T, SerializerSession) |
Deserialize a value of type |
Deserialize(ArraySegment<Byte>, T) |
Deserialize a value of type |
Deserialize(Byte[], T, SerializerSession) |
Deserialize a value of type |
Deserialize(Byte[], T) |
Deserialize a value of type |
Deserialize(ReadOnlyMemory<Byte>, T, SerializerSession) |
Deserialize a value of type |
Deserialize(ReadOnlyMemory<Byte>, T) |
Deserialize a value of type |
Deserialize(ReadOnlySequence<Byte>, T, SerializerSession) |
Deserialize a value of type |
Deserialize(ReadOnlySequence<Byte>, T) |
Deserialize a value of type |
Deserialize(ReadOnlySpan<Byte>, T, SerializerSession) |
Deserialize a value of type |
Deserialize(ReadOnlySpan<Byte>, T) |
Deserialize a value of type |
Deserialize(Stream, T, SerializerSession) |
Deserialize a value of type |
Deserialize(Stream, T) |
Deserialize a value of type |
Deserialize<TInput>(Reader<TInput>, T) |
Deserialize a value of type |
Serialize(T, ArraySegment<Byte>) |
Serializes the provided |
Serialize(T, Byte[], SerializerSession) |
Serializes the provided |
Serialize(T, Byte[]) |
Serializes the provided |
Serialize(T, Memory<Byte>, SerializerSession) |
Serializes the provided |
Serialize(T, Memory<Byte>) |
Serializes the provided |
Serialize(T, Span<Byte>, SerializerSession) |
Serializes the provided |
Serialize(T, Span<Byte>) |
Serializes the provided |
Serialize(T, Stream, Int32) |
Serializes the provided |
Serialize(T, Stream, SerializerSession, Int32) |
Serializes the provided |
Serialize<TBufferWriter>(T, TBufferWriter, SerializerSession) |
Serializes the provided |
Serialize<TBufferWriter>(T, TBufferWriter) |
Serializes the provided |
Serialize<TBufferWriter>(T, Writer<TBufferWriter>) |
Serializes the provided |
SerializeToArray(T) |
Serializes the provided |