% Function WRITE-BYTE
Function WRITE-BYTE
write-byte byte stream => byte
byte - streamの要素の型の整数
stream - バイナリ出力ストリーム
write-byteは、ひとつのバイトであるbyteを
streamに書き込みます。
(with-open-file (s "temp-bytes"
:direction :output
:element-type 'unsigned-byte)
(write-byte 101 s)) => 101
streamは変更されます。
streamの要素の型
streamがストリームではないときは、
型type-errorのエラーを通知するべきです。
streamがバイナリ出力ストリームではないとき、
型type-errorのエラーを通知するべきです。
byteがstreamの要素の型の整数ではないときは、
型type-errorのエラーを通知されるでしょう。
read-byte,
write-char,
write-sequence
なし。