Ports access external series such as files, networks,
consoles, events, databases, data encoders, and data decoders. Port data is
processed using the standard REBOL series functions as described in the series
Chapter.
Ports are used for both input and output. The type of data a port handles
depends on how the port is opened. Three types of data are possible:
String
a series of bytes, converts line breaks (default)
Binary
a series of bytes, no conversion of the data
Block
a series of REBOL values
A port can be opened in one of two buffering modes: