nsIBufferedInputStream

An input stream that reads ahead and keeps a buffer coming from another input
stream so that fewer accesses to the underlying stream are necessary.

Methods

init(fillFromStream, bufferSize)

Parameters

fillFromStream - add buffering to this stream
bufferSize - specifies the maximum buffer size