Serializer<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 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>) |
Deserialize a value of type |
Deserialize(ArraySegment<Byte>, SerializerSession) |
Deserialize a value of type |
Deserialize(Byte[]) |
Deserialize a value of type |
Deserialize(Byte[], SerializerSession) |
Deserialize a value of type |
Deserialize(PooledBuffer+BufferSlice) |
Deserialize a value of type |
Deserialize(PooledBuffer+BufferSlice, SerializerSession) |
Deserialize a value of type |
Deserialize(ReadOnlyMemory<Byte>) |
Deserialize a value of type |
Deserialize(ReadOnlyMemory<Byte>, SerializerSession) |
Deserialize a value of type |
Deserialize(ReadOnlySequence<Byte>) |
Deserialize a value of type |
Deserialize(ReadOnlySequence<Byte>, SerializerSession) |
Deserialize a value of type |
Deserialize(ReadOnlySpan<Byte>) |
Deserialize a value of type |
Deserialize(ReadOnlySpan<Byte>, SerializerSession) |
Deserialize a value of type |
Deserialize(Stream) |
Deserialize a value of type |
Deserialize(Stream, SerializerSession) |
Deserialize a value of type |
Deserialize<TInput>(Reader<TInput>) |
Deserialize a value of type |
Serialize(T, Byte[]) |
Serializes the provided |
Serialize(T, Byte[], SerializerSession) |
Serializes the provided |
Serialize(T, Memory<Byte>) |
Serializes the provided |
Serialize(T, Memory<Byte>, SerializerSession) |
Serializes the provided |
Serialize(T, Span<Byte>) |
Serializes the provided |
Serialize(T, Span<Byte>, SerializerSession) |
Serializes the provided |
Serialize(T, Stream, Int32) |
Serializes the provided |
Serialize(T, Stream, SerializerSession, Int32) |
Serializes the provided |
Serialize<TBufferWriter>(T, TBufferWriter) |
Serializes the provided |
Serialize<TBufferWriter>(T, TBufferWriter, SerializerSession) |
Serializes the provided |
Serialize<TBufferWriter>(T, Writer<TBufferWriter>) |
Serializes the provided |
SerializeToArray(T) |
Serializes the provided |