Bois icon indicating copy to clipboard operation
Bois copied to clipboard

Add support for .Net new buffer types, Span<T>, Memoery<T>, ArraySegement<T> and etc.

Open salarcode opened this issue 3 years ago • 0 comments

Support form/to .Net new buffer type should be added.

Serialize from and to:

  • ArraySegment<T>
  • Span<T>
  • ReadOnlySpan<T>
  • Memory<T>
  • ReadOnlyMemory<T>
  • ReadOnlySequence<T>
  • etc?

Also support these type as property to be serialized. These types will be treated as simple Arrays like ReadOnlySpan as String and ReadOnlySpan as byte[], but the boundaries (like position) will not be same in deserialization .

salarcode avatar Nov 19 '22 07:11 salarcode