Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
salarcode opened this issue Nov 19, 2022 · 0 comments

Comments

@salarcode
Copy link
Owner

salarcode commented Nov 19, 2022

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant