Select search mode

 
50 of 918

Supports ReadOnlyMemory<byte> as input

Description

Memory<byte> is the preferred way to work with blobs in .NET. It can represent a slice of an array or any contiguous memory with a custom MemoryManager<T>. You'll find it in all low-level .NET APIs such as Stream.WriteAsync, Socket.SendAsync, or MemoryPool.Rent.

It would be great if the driver could support Memory/ReadOnlyMemory. That will enable users some important performance benefits when calling Bind. Here is an example where an object with unknown serialized size (Data) is serialized to a memory stream.

when with a Memory you could do

Environment

None

Details

Assignee

Reporter

Priority

Created yesterday
Updated yesterday

Activity

Flag notifications