Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Last active December 7, 2016 16:33
Show Gist options
  • Save zhouqiang-cl/915ae9dabb84aa3585d6fb43ba05e19c to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/915ae9dabb84aa3585d6fb43ba05e19c to your computer and use it in GitHub Desktop.
common lisp 的函数 WRITE-BYTE
语法
write-byte byte stream => byte
参数和值
byte --- 一个正整数,
stream --- 一个二进制的 stream
描述
write-byte 往 stream 里写入一个字符 byte
代码
* (write-byte 13 *standard-output*)
13
* (write-byte 86 *standard-output*)
V
86
* (write-byte 56 *standard-output*)
8
56
* (write-byte 77 *standard-output*)
M
77
注:
 数字 是 这个函数的返回, 字符是*standard-output* 的输出
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment