NextPrevUpTopContentsIndex

stream-read-byte

Generic Function
Summary

A generic function used by read-byte to read an integer or :eof symbol from a binary stream.

Package

stream

Signature

stream-read-byte stream => result

Arguments

stream

An input stream.

Values

result

An integer or :eof .

Description

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.

See also

buffered-stream
fundamental-binary-input-stream
fundamental-binary-stream
stream-read-char


LispWorks Reference Manual - 23 Jul 2004

NextPrevUpTopContentsIndex