|
|
The Decorator Pattern and Streams |
We build a compressed stream on a buffered stream on a file stream The compressed stream decorates the buffered stream The buffered stream decorates the file stream |
Compression and buffering decoration of a FileStream |