Rebol Programming/read-io
Jump to navigation
Jump to search
USAGE:[edit | edit source]
READ-IO port buffer length
DESCRIPTION:[edit | edit source]
Low level read from a port.
READ-IO is a native value.
ARGUMENTS[edit | edit source]
- port -- Already opened port to read from. (Type: port)
- buffer -- Buffer to which to append data. (Type: any-string)
- length -- Maximum number of chars to read. (Type: number)
SOURCE CODE[edit | edit source]
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." ]