Last modified on 13 November 2012, at 10:52

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.

ARGUMENTSEdit

  • 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 CODEEdit

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