koriolis.bufferedstream: Functions Modinfo Source  

Buffered Stream

This module gives access to a stream wrapper that buffers the data read by the underlying buffer.
When reading from a particular stream involves costly operations, wrapping it with a TBufferedStream can amortize the cost of reading. TBufferedStream is used in particular in conjunction with TZipStream, to amortize the high cost of TZipStream.Seek().
A buffered stream can also be specified via the stream protocol "buf". By example, OpenSteram("buf::myFile.txt").

Functions Summary

CreateBufferedStream Creates and return a buffered stream from around an existing stream (or url).

Functions

Function CreateBufferedStream:TStream(url:Object, bufSize%=4096, bForce%=False)
DescriptionCreates and return a buffered stream from around an existing stream (or url).

Module Information

Version1.0
AuthorRégis JEAN-GILLES (Koriolis)
LicensePublic Domain