Rebol 编程/write-io
外观
< Rebol 编程
用法
[编辑 | 编辑源代码]WRITE-IO port buffer length
描述
[编辑 | 编辑源代码]低级写入端口。
WRITE-IO 是一个本地值。
参数
[编辑 | 编辑源代码]- port -- 已经打开的要写入的端口 (类型:port)
- buffer -- 用于写入的缓冲区。 (类型:any-string)
- length -- 要写入的最大字符数 (类型:number)
源代码
[编辑 | 编辑源代码]write-io: native[ "Low level write to a port." port [port!] "Already opened port to write to" buffer [any-string!] "Buffer to use for write." length [number!] "Maximum number of chars to write" ]