envzn
0.8 · beta · not released

Library / Core interfaces / Text I/O / Readable

INTERFACE

Readable

Readable — a byte source: the counterpart of Writable. The single operation is read — drain the source into an storage char8[512+] of whatever it had. File, Socket, and the Stdio stdin source implement it, so code can ask of any of them "can I read this?" the same way Writable answers "can I write it?".

Methods 1

MODIFY METHOD read() RETURNS | binary[]
modifies