A generic function used by read-byte
to read an integer or :eof
symbol from a binary stream.
The generic function stream-read-byte
is used by read-byte
, and returns either an integer read from the binary stream specified by stream, or the keyword:eof
.
A method must be implemented for all binary subclasses of buffered-stream that handle input. A typical implementation will call stream-read-char and convert the character to an integer using char-code
.
A method should be defined for a subclass of fundamental-binary-input-stream.
LispWorks User Guide and Reference Manual - 20 Sep 2017