Inheritance diagram for OLLayeredOutStream:
Public Member Functions
|Close the stream. |
|Return the OLConnectedOutStream at the bottom of the stream stack. |
|Flush the stream. |
|Free the stream's resources. |
|Write bytes to the stream. |
Initializers and Deallocators
|Initialize the stream. |
|The stream on top of which this stream is layered. |
Layered streams can filter data that are ultimately written out to connected streams. The methods in OLLayeredOutStream merely forward messages to the underlying out stream.
|- (void) close|
|- (id) connectedOutStream|
Return the OLConnectedOutStream at the bottom of the stream stack.
All layered streams in this stack of layered streams will return the same value of the connected stream.
|- (void) flush|
|- (void) freeStreamResources|
Free the stream's resources.
This secondary freeing method is necessary to allow the reference count to be properly manipulated from within the normal free (OLReferenceCountedStream) method.
Reimplemented from OLReferenceCountedStream.
|- (id) initWithOutStream:||(OLOutStream *)||underStream|
|- (unsigned) writeBytes:||(const uint8_t *)||bytes|
Write bytes to the stream.
This implementation merely forwards the message to the next lower stream in the stream stack.
|OLInputOutputException||if there is an error writing to the stream|
|bytes||the bytes to write|
|count||the number of bytes to write|
Reimplemented from OLOutStream.