《通链参考手册》


Function WRITE-BYTE

●语法设定:

write-byte byte stream => byte

●参数和值:

byte---an integer of the stream element type of stream.

stream---a binary output stream.

●详情:

write-byte writes one byte, byte, to stream.

●例子:

 (with-open-file (s "temp-bytes" 
                    :direction :output
                    :element-type 'unsigned-byte)
    (write-byte 101 s)) =>  101

●副作用:

stream is modified.

●受制于:

The element type of the stream.

●例外情况:

Should signal an error of type type-error if stream is not a stream. Should signal an error of type error if stream is not a binary output stream.

Might signal an error of type type-error if byte is not an integer of the stream element type of stream.

●更多信息:

read-byte, write-char, write-sequence

●说明: 无。


X3J13设计清单非标准部分,可查下面章节:


◇首页 § ◎章节目录 § □内容索引 § ○符号索引 § △术语表 § ※设计草案