Inheritance diagram for OLLayeredInStream:
Public Member Functions
|Close the stream. |
|Return the OLConnectedInStream at the bottom of the stream stack. |
|Free the stream's resources. |
|Read a sequence of bytes from 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 initially read from connected streams. The methods in OLLayeredInStream merely forward messages to the underlying in stream.
|- (void) close|
|- (id) connectedInStream|
Return the OLConnectedInStream 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) 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) initWithInStream:||(OLInStream *)||underStream|
|- (unsigned) readBytes:||(uint8_t *)||buffer|
Read a sequence of bytes from the stream.
This implementation merely forwards the message to the next stream down in the stream stack.
|OLInputOutputException||if there is an error reading from the stream|
|buffer||the address to which the bytes should be read|
|max||the maximum number bytes that should be read|
Reimplemented from OLInStream.