Class MemorySerializer
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll
Represents a serializer for Memory.
public sealed class MemorySerializer<TItem> : MemorySerializerBase<TItem, Memory<TItem>>, IBsonSerializer<Memory<TItem>>, IBsonSerializer, IRepresentationConfigurable<MemorySerializerBase<TItem, Memory<TItem>>>, IRepresentationConfigurable, IHasRepresentationSerializer
Type Parameters
TItem
The type of the item. Only primitive numeric types are supported.
Inheritance
MemorySerializer
Implements
Inherited Members
Extension Methods
Constructors
Initializes a new instance of the MemorySerializer class.
Initializes a new instance of the MemorySerializer class.
Methods
Creates the Memory{TITem} structure.
Get the memory structure from TMemory instance.
Returns a serializer that has been reconfigured with the specified representation.