Module std.io

IOs

This module provides IO traits and interfaces. It also imports std.io.file and std.io.net.

Functions

NameDescription
ioObject(io) IFTI construction helper for IOObject

Interfaces

NameDescription
Input Input interface for code requiring a polymorphic API.
Output Output interface for code requiring a polymorphic API.

Classes

NameDescription
IOObject A template class implementing the supported IOInterfaces.

Manifest constants

NameTypeDescription
isInput Returns true if IO is an input. An input/output device must define the primitive read supporting reading into a single and multiple buffers.
isIO Returns true if IO is an input/output device.
isOutput Returns true if IO is an input. An input/output device must define the primitive write supporting writing a single and multiple buffers.

Aliases

NameTypeDescription
IOInterfaces AliasSeq!(Input,Output) Returns an alias sequence Input and Output, depending on what IO implements.