read

read ?-nonewline? channelId ?numChars?

Reads numChars characters, or all of the input to its end. -nonewline removes the last newline.

Facts