Rebol 编程/read-io
外观
< Rebol 编程
READ-IO port buffer length
从端口进行低级读取。
READ-IO 是一个原生值。
- port -- 要从中读取的已打开端口。 (类型: 端口)
- buffer -- 要追加数据的缓冲区。 (类型: 任何字符串)
- length -- 要读取的最大字符数。 (类型: 数字)
read-io: native[ "Low level read from a port." port [port!] "Already opened port to read from." buffer [any-string!] "Buffer to which to append data." length [number!] "Maximum number of chars to read." ]