akkadotnet / Hyperion

Polymorphic serialization for .NET
Apache License 2.0
277 stars 62 forks source link

`Memory<T>` / `Span<T>` support #328

Open Aaronontheweb opened 2 years ago

Aaronontheweb commented 2 years ago

Is your feature request related to a problem? Please describe.

In order to implement https://github.com/akkadotnet/akka.net/issues/3740 Hyperion will need to support overloads that allow the external caller to control the allocation of memory using System.Memory types and buffer pools.

Describe the solution you'd like

Needs an actual spec, but leaving the issue here for record-keeping.