| ▲ | conartist6 6 hours ago | |||||||
My concern isn't with how you write your network layer. Use buffers in there, of course. But what if you just want to do a simple decoding transform to get a stream of Unicode code points from a steam of bytes? If your definition of a stream is that it has UInt8 values, that simply isn't possible. And there's still gonna be waaay too many code points to fall back to an async iterator of code points. | ||||||||
| ▲ | softfalcon 3 hours ago | parent [-] | |||||||
I think we're having a completely different conversation now. The parent comment I originally replied has been edited so much that I think the context of what I was referring to is now gone. Also, I wasn't talking about building network layers, I was explicitly referring to things that use a network layer... That is, an application receiving streams of enumerable network data. I also agree with what you're saying, we don't want UInt8, we want bits and bytes. I'm really confused as to why the parent comment was edited so heavily. Oh well, that's social media for you. | ||||||||
| ||||||||