Class SerializerExtensions
Namespace: DotBoxD.Services.Serialization
Assembly: DotBoxD.Services.dll
Helpers for serializing directly into pooled buffers.
public static class SerializerExtensionsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()
Methods
Section titled “Methods”SerializeToPayload<T>(ISerializer, T)
Section titled “ SerializeToPayload<T>(ISerializer, T)”Serializes value into a freshly rented DotBoxD.Services.Buffers.Payload. The caller
owns the returned payload and must dispose it.
public static Payload SerializeToPayload<T>(this ISerializer serializer, T value)Parameters
Section titled “Parameters”serializer ISerializer
value T
Returns
Section titled “Returns”Type Parameters
Section titled “Type Parameters”T