Rebol Programming/read-io

USAGE:

edit
READ-IO port buffer length 

DESCRIPTION:

edit

Low level read from a port.

READ-IO is a native value.

ARGUMENTS

edit
  • 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
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."
]