Streaming library
Dmitry Olshansky
dmitry.olsh at gmail.com
Wed Oct 13 09:08:02 PDT 2010
On 13.10.2010 19:37, Johannes Pfau wrote:
> On 13.10.2010 16:32, Andrei Alexandrescu wrote:
>> On 10/11/2010 07:49 PM, Daniel Gibson wrote:
>>> Andrei Alexandrescu schrieb:
>>> * Also there are different types of streams: seekable, resettable (a
>>> network stream is neither), ...
>> Agreed. Question: is there a file system that offers resettable but not
>> seekable files? I'm thinking of collapsing the two together.
>>
> Can't think of a file system. But for example a http stream is always
> resettable, but not always seekable.
>
Another example, an archive file entry (at least in zip file) is
resettable, but not seekable.
To seek one would need to decompress stream and discard data (hardly any
faster then reading).
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list