Method GetMemory
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
GetMemory(ReadOnlyMemory<TItem>)
Get the memory structure from TMemory instance.
protected override Memory<TItem> GetMemory(ReadOnlyMemory<TItem> memory)
Parameters
memory
ReadOnlyMemory<TItem>
Returns
- Memory<TItem>
The Memory{TITem} structure.