Is there a way to get a string out of an IReadOnlyList<byte>
, given a specific Encoding
?
To be more precise, is there a way that doesn't copy the content of the collection before passing it to the Encoding object?
My main concern is performance, followed by memory usage.
We now have someone working on high performance and zero copy parsing of strings and byte sequences.
https://github.com/dotnet/corefxlab/blob/master/docs/specs/parsing.md