I have a CBOR library that in its Java incarnation reads from a virtual stream using a “getchar()”. The virtual stream can be a memory buffer or a real stream like HTTP. This permits you doing cool stuff like:
There seems to be no way to do this (in a reasonable way) using asynchronous streams.
What am I missing?
Regards
Anders