March 17, 2019
5:28 p.m.
If that was the case, then it makes no sense to implement #upTo: but not #upToAll: , right ???? On 2019-03-17 10:37, ducasse wrote:
Was there a conscious decision not to include the #upToAll: method onZnBufferedReadStream?. This method is really useful for parsing files -- finding sub-patterns of bytes, etc. Perhaps #upToAll: is not the idiomatic way to do this, but I found it very useful to use in the plain old ReadStream classes. I imagine that sven did not add it because on infinite stream it does not make sense. Now it would be good to see how we can have useful extensions. But I let this to sven.