Re: [streams] How will ReadableByteStream work with seekable resources? (#253)

I don't think so, unless I'm misunderstanding. The scenario I think we're trying to solve is that the _consumer_ of the stream wants to be able to do "fill up _count_ bytes of _ab_ starting at _offset_" and then the stream will use this to do an async (i.e., blocking in another thread) operation like `fread`.

I guess `setAllocator` would do that, since the consumer gets access to it. The revealing constructor would not though, because it assumes the consumer is the same as the creator of the stream, which is rarely the case.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/253#issuecomment-73902406

Received on Wednesday, 11 February 2015 15:42:11 UTC