Method CreateMemory
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
CreateMemory(TItem[])
Creates the Memory{TITem} structure.
protected override ReadOnlyMemory<TItem> CreateMemory(TItem[] items)
Parameters
items
TItem[]The items to initialize the resulting instance with.
Returns
- ReadOnlyMemory<TItem>
The created memory structure.