Next: , Previous: Output stream methods, Up: Gray Streams


9.2.6 Binary stream methods

The following generic functions are available for subclasses of fundamental-binary-stream:

— Generic Function: sb-gray:stream-read-byte non-stream

Used by read-byte; returns either an integer, or the symbol :eof if the stream is at end-of-file.

— Generic Function: sb-gray:stream-write-byte non-stream integer

Implements write-byte; writes the integer to the stream and returns the integer as the result.