A generic function used by read-byte to read an integer from a binary stream.
stream
stream-read-byte stream => result
stream⇩ |
An input stream. |
result |
An integer or :eof . |
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.
buffered-stream
fundamental-binary-input-stream
fundamental-binary-stream
stream-read-char
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:01