AsyncBinaryReaderWriter icon indicating copy to clipboard operation
AsyncBinaryReaderWriter copied to clipboard

ValueTask!

Open lostmsu opened this issue 4 years ago • 3 comments

Say no to allocations!

lostmsu avatar Feb 09 '20 00:02 lostmsu

Changing the existing methods to value tasks would introduce breaking changes. I'm open to ideas, though.

ronnieoverby avatar Apr 21 '20 01:04 ronnieoverby

@ronnieoverby looks like Stream class won't support them, so there is little point I guess. However, the new classes in System.IO.Pilelines could get a corresponding AsyncBinaryReader and AsyncBinaryWriter.

lostmsu avatar Apr 21 '20 01:04 lostmsu

looks like Stream class won't support them

I'm not quite sure what you mean.

However, the new classes in System.IO.Pilelines could get a corresponding AsyncBinaryReader and AsyncBinaryWriter.

Interesting.

ronnieoverby avatar Apr 21 '20 13:04 ronnieoverby