Allow Constructor-overload for MemoryOwner<T> #265
Closed
CodingMadness
started this conversation in
Ideas
Replies: 1 comment 8 replies
-
|
Compared with "CommunityToolkit" I wonder why you made the span readonly and not writeable because the version of toolkit makes more sense to me tbh to allow writing to it, so u can do for instance: "stream.ReadAtleast(memoryOwner.Span)" which right now you cant do with your MemoryOwner version. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hey I would love to see that MemoryOwner can accept a "Stream" variable as input parameter, i am currently in need of that and cant use your awesome pool sadly :/
Beta Was this translation helpful? Give feedback.
All reactions