NextPrevUpTopContentsIndex

stream-write-byte

Generic Function
Summary

A generic function used by write-byte to write an integer to a binary stream.

Package

stream

Signature

stream-write-byte stream integer => result

Arguments

stream

A stream.

integer

An integer.

Values

result

An integer.

Description

The generic function stream-write-byte is used by write-byte , and writes the integer integer to the binary stream specified by stream .

A method must be implemented for all binary subclasses of buffered-stream that handle output. A typical implementation will convert the integer to a character using code-char and call stream-write-char.

A method should be defined for all subclasses of fundamental-binary-output-stream.

See also

buffered-stream
fundamental-binary-output-stream
fundamental-binary-stream
stream-write-char


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex