shadow

Package shadow:io

Package shadow:io contains fundamental types used for input and output, both for the console and for file and path manipulation.

Singleton Summary

Singleton Description
Console

Singleton Console provides methods for reading text data from stdin and writing text data to stdout and stderr.

Interface Summary

Interface Description
CanClose

Interface CanClose specifies that a class can be closed.

CanOpen

Interface CanOpen specifies that a class can be opened.

CanRead

Interface CanRead specifies that a class can read data into an array of ubyte values.

CanWrite

Interface CanWrite specifies that a class can write data from an array of ubyte values.

Class Summary

Class Description
File

Class File provides utilities for interacting with a file in the operating system, such as creating a new file, deleting an existing file, reading from a file, and writing to a file.

Path

Class Path provides utilities for managing a path to a file in the operating system.

StandardInput

Class StandardInput provides methods for reading from stdin.

StandardOutput

Class StandardOutput provides methods for writing to stdout and stderr.

TextInput
TextOutput

Class TextOutput provides methods for writing text data to a CanWrite object.

Exception Summary

Exception Description
IOException

Exception IOException should be thrown when an input or output operation fails in an unexpected way.