Wrapper streams which count the number of bytes or limit the stream based on the number of transferred bytes.
|Creates a proxy stream that counts the number of bytes written.
|Creates a stream that fires a callback once the end of the underlying input stream is reached.
createLimitedInputStream(stream, byte_limit, silent_limit)
|Constructs a limited stream from an existing input stream.
|Wraps an existing input stream, counting the bytes that are written.
|Wraps an existing output stream, counting the bytes that are written.
|Wraps an input stream and calls the given delegate once the stream is empty.
|Wraps an existing stream, limiting the amount of data that can be read.