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 .