| Operation |
Meaning |
| create/write |
Initialize state of transformation for writing into channel.
The buffer is irrelevant, and empty. A return value is
ignored. First call for writing part.
|
| delete/write |
Cleanup state of transformation for writing into channel.
The buffer is irrelevant, and empty. A return value is
ignored. Last call for writing part.
|
| write |
Execute write transformation on the given buffer. The return
value is interpreted as transformation result.
|
| flush/write |
Flush out all buffers internal to the transformation. The
given buffer is empty. The return value is interpreted as
transformation result.
|
| clear/write |
Cleanup state of transformation for writing into channel.
The buffer is irrelevant, and empty. A return value is
ignored.
|
| create/read |
Initialize state of transformation for read from channel.
The buffer is irrelevant, and empty. A return value is
ignored. First call for reading part.
|
| delete/read |
Cleanup state of transformation for read from channel. The
buffer is irrelevant, and empty. A return value is ignored.
Last call for reading part.
|
| read |
Execute read transformation on the given buffer. The return
value is interpreted as transformation result. Normally the
inverse of the write transformation.
|
| flush/read |
Flush out all buffers internal to the transformation. The
given buffer is empty. The return value is interpreted as
transformation result. Required to get buffered partial
results at EOF of the underlying channel.
|
| clear/read |
Cleanup state of transformation for read from channel. The
buffer is irrelevant, and empty. A return value is ignored.
Called during seeks on the channel.
|