undead.stream

Deprecated: This module is considered out-dated and not up to Phobos' current standards.

Members

Aliases

HANDLE
alias HANDLE = int
Undocumented in source.

Classes

BufferedFile
class BufferedFile

This subclass is for buffered file system streams.

BufferedStream
class BufferedStream

This subclass is for buffering a source stream.

EndianStream
class EndianStream

This subclass wraps a stream with big-endian or little-endian byte order swapping.

File
class File

This subclass is for unbuffered file system streams.

FilterStream
class FilterStream

A base class for streams that wrap a source stream with additional functionality.

MemoryStream
class MemoryStream

This subclass reads and constructs an array of bytes in memory.

MmFileStream
class MmFileStream

This subclass wraps a memory-mapped file with the stream API. See std.mmfile module.

OpenException
class OpenException

An exception for errors during File.open.

ReadException
class ReadException

Thrown when unable to read data from Stream.

SeekException
class SeekException

Thrown when unable to move Stream pointer.

SliceStream
class SliceStream

This subclass slices off a portion of another stream, making seeking relative to the boundaries of the slice.

Stream
class Stream

Stream is the base abstract class from which the other stream classes derive.

StreamException
class StreamException

A base class for stream exceptions.

StreamFileException
class StreamFileException

An exception for File errors.

TArrayStream
class TArrayStream(Buffer)

Parameterized subclass that wraps an array-like buffer with a stream interface.

WriteException
class WriteException

Thrown when unable to write data to Stream.

Enums

BOM
enum BOM

UTF byte-order-mark signatures

FileMode
enum FileMode

Specifies the File access mode used when opening the file.

SeekPos
enum SeekPos
Undocumented in source.

Functions

FlushFileBuffers
void FlushFileBuffers(HANDLE hFile)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
GetFileType
DWORD GetFileType(HANDLE hFile)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.

Interfaces

InputStream
interface InputStream

InputStream is the interface for readable streams.

OutputStream
interface OutputStream

Interface for writable streams.

Variables

BOMEndian
Endian[NBOMS] BOMEndian;
Undocumented in source.
ByteOrderMarks
ubyte[][NBOMS] ByteOrderMarks;
Undocumented in source.

Meta