Binary stream methods - SBCL 1.0.31 User Manual
Description: SBCL 1.0.31 User Manual

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

#### 10.2.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.