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


10.3.6 Binary stream methods

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

— Generic Function: sb-gray:stream-read-byte 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 stream integer

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