Re: [Xtreams-Compression] Compression streams do not work with sockets
"Reinout Heeck"<[hidden email]> wrote:
> I currently lack the time to decently address this problem, so forgive
> me for this discussion will progress at glacial speed.
No problem, take your time.
> My current hunch is that it is solvable -- not quite a rats nest, merely
> a copious amount of tedium ;-)
Fair enough. Certainly on my end I'm past the point where I can constructively add to the discussion without actually sitting down and trying things out. And I'm not sure where that's going to happen either.
Thank you Niall for your exhaustive list, I can't think of anything more to add. Unfortunately most of these are out of date to some degree by now. The most up to date reference is in the package comments, which are also used to generate the pages on the google code site (that's why the odd formatting).
But even the comments largely focus on documenting the API rather than the internals. One aspect that I would highlight, that is likely not apparent from the comments is that at the heart of all the stream types is a single method, #read:into:at: for read streams and #write:from:at: for write streams (this ignores positioning, but that only applies to a subset of streams). This facilitates creation of custom stream classes (transformations or terminals), but also provides clear entry point into an implementation of a particular stream.