Pascal stream class that is implemented as an interface, thus offering reference-counting. It mimics the features of TStream, but instead of inhering from TObject, it implements an interface and the TInferfacedObject class.
Vast documentation on the TStream class is available on internet.