System.IO Namespace

Classes

public class BinaryReader Reads binary data from a ByteStream . The data is expected to be in big-endian byte order.
public class BinaryWriter Writes binary data to a ByteStream using big-endian byte order.
public class BufferedByteStream
public abstract class ByteStream Represents a stream of bytes.
public static class Directory
public static class File
public class FileByteStream
public class FileSystemException
public class IOBuffer
public class InvalidPathException
public class LogWriter
public class MemoryByteStream
public static class Path
public class StreamReader Reads character data from a ByteStream . The data is expected to be UTF-8 encoded.
public class StreamWriter Writes character data to a ByteStream using UTF-8 encoding.
public class StringWriter
public abstract class TextWriter

Functions

public String<char> GetCurrentWorkingDirectory()
public String<char> GetFullPath(const String<char>& path)
public nothrow bool IsConsoleHandle(int handle)
public nothrow String<char> MakeRelativeDirPath(const String<char>& dirPath, const String<char>& referenceDirPath)
public LogWriter& operator<<(LogWriter& writer, bool b)
public LogWriter& operator<<(LogWriter& writer, char c)
public LogWriter& operator<<(LogWriter& writer, const Endl& endl)
public LogWriter& operator<<(LogWriter& writer, const String<char>& str)
public LogWriter& operator<<(LogWriter& writer, int i)
public LogWriter& operator<<(LogWriter& writer, long l)
public LogWriter& operator<<(LogWriter& writer, uint u)
public LogWriter& operator<<(LogWriter& writer, ulong u)
public TextWriter& operator<<(TextWriter& writer, bool x)
public TextWriter& operator<<(TextWriter& writer, byte x)
public TextWriter& operator<<(TextWriter& writer, char x)
public TextWriter& operator<<(TextWriter& writer, const Date& date)
public TextWriter& operator<<(TextWriter& writer, const DateTime& dateTime)
public TextWriter& operator<<(TextWriter& writer, const Endl&)
public TextWriter& operator<<(TextWriter& writer, const String<char>& x)
public TextWriter& operator<<(TextWriter& writer, const String<uchar>& x)
public TextWriter& operator<<(TextWriter& writer, const String<wchar>& x)
public TextWriter& operator<<(TextWriter& writer, const char* x)
public TextWriter& operator<<(TextWriter& writer, const uchar* x)
public TextWriter& operator<<(TextWriter& writer, const wchar* x)
public TextWriter& operator<<(TextWriter& writer, double x)
public TextWriter& operator<<(TextWriter& writer, float x)
public TextWriter& operator<<(TextWriter& writer, int x)
public TextWriter& operator<<(TextWriter& writer, long x)
public TextWriter& operator<<(TextWriter& writer, sbyte x)
public TextWriter& operator<<(TextWriter& writer, short x)
public TextWriter& operator<<(TextWriter& writer, uchar x)
public TextWriter& operator<<(TextWriter& writer, uint x)
public TextWriter& operator<<(TextWriter& writer, ulong x)
public TextWriter& operator<<(TextWriter& writer, ushort x)
public TextWriter& operator<<(TextWriter& writer, wchar x)

Delegates

public delegate void DataCompressionFunction(SharedPtr <ByteStream >& in, SharedPtr <ByteStream >& out)
public delegate byte GetSystemCompressionMethodFunction()

Enumerated Types

public enum OpenMode
public enum Origin

Constants

public const byte bzip2Compression = 1u
public const byte deflateCompression = 0u
public const int numSystemCompressions = 2
public const int stderr = 2
public const int stdin = 0
public const int stdout = 1

Function Details

GetCurrentWorkingDirectory Function

public String<char> GetCurrentWorkingDirectory()

Definition
Line 18 of System.Base/Path.cm


GetFullPath Function

public String<char> GetFullPath(const String<char>& path)

Definition
Line 32 of System.Base/Path.cm


IsConsoleHandle Function

public nothrow bool IsConsoleHandle(int handle)

Definition
Line 14 of System.Base/FileByteStream.cm


MakeRelativeDirPath Function

public nothrow String<char> MakeRelativeDirPath(const String<char>& dirPath, const String<char>& referenceDirPath)

Definition
Line 98 of System.Base/Path.cm


operator<< Function

public LogWriter& operator<<(LogWriter& writer, bool b)

Definition
Line 58 of System.Base/LogWriter.cm


operator<< Function

public LogWriter& operator<<(LogWriter& writer, char c)

Definition
Line 52 of System.Base/LogWriter.cm


operator<< Function

public LogWriter& operator<<(LogWriter& writer, const Endl& endl)

Definition
Line 88 of System.Base/LogWriter.cm


operator<< Function

public LogWriter& operator<<(LogWriter& writer, const String<char>& str)

Definition
Line 46 of System.Base/LogWriter.cm


operator<< Function

public LogWriter& operator<<(LogWriter& writer, int i)

Definition
Line 64 of System.Base/LogWriter.cm


operator<< Function

public LogWriter& operator<<(LogWriter& writer, long l)

Definition
Line 76 of System.Base/LogWriter.cm


operator<< Function

public LogWriter& operator<<(LogWriter& writer, uint u)

Definition
Line 70 of System.Base/LogWriter.cm


operator<< Function

public LogWriter& operator<<(LogWriter& writer, ulong u)

Definition
Line 82 of System.Base/LogWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, bool x)

Definition
Line 87 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, byte x)

Definition
Line 99 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, char x)

Definition
Line 165 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, const Date& date)

Definition
Line 153 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, const DateTime& dateTime)

Definition
Line 159 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, const Endl&)

Definition
Line 183 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, const String<char>& x)

Definition
Line 69 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, const String<uchar>& x)

Definition
Line 81 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, const String<wchar>& x)

Definition
Line 75 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, const char* x)

Definition
Line 51 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, const uchar* x)

Definition
Line 63 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, const wchar* x)

Definition
Line 57 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, double x)

Definition
Line 147 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, float x)

Definition
Line 141 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, int x)

Definition
Line 117 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, long x)

Definition
Line 129 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, sbyte x)

Definition
Line 93 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, short x)

Definition
Line 105 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, uchar x)

Definition
Line 177 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, uint x)

Definition
Line 123 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, ulong x)

Definition
Line 135 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, ushort x)

Definition
Line 111 of System.Base/TextWriter.cm


operator<< Function

public TextWriter& operator<<(TextWriter& writer, wchar x)

Definition
Line 171 of System.Base/TextWriter.cm