nulib.io.stream

Streams

Base interface for Input/Output streams in nulib.

Modules

file
module nulib.io.stream.file
Undocumented in source.
memstream
module nulib.io.stream.memstream

Memory Streams

rw
module nulib.io.stream.rw

Stream Readers and Writers.

Public Imports

nulib.io.stream.memstream
public import nulib.io.stream.memstream;
Undocumented in source.

Members

Classes

Stream
class Stream

A stream that can either be read from or written to.

StreamReadException
class StreamReadException

An exception that can be thrown to indicate that a read operation failed.

StreamUnsupportedException
class StreamUnsupportedException

An exception that can be thrown to indicate that a required operation is not supported by the given stream.

StreamWriteException
class StreamWriteException

An exception that can be thrown to indicate that a write operation failed.

Enums

SeekOrigin
enum SeekOrigin

The origin of a seek operation

StreamError
enum StreamError

Potential errors which can be raised by Stream R/W operations.

Variables

STREAM_ERROR_EOF
enum StreamError STREAM_ERROR_EOF;

End of file reached.

STREAM_ERROR_INVALID_STATE
enum StreamError STREAM_ERROR_INVALID_STATE;

Stream is in an invalid state.

STREAM_ERROR_NOT_SUPPORTED
enum StreamError STREAM_ERROR_NOT_SUPPORTED;

Operation is not supported by the stream.

STREAM_ERROR_OUT_OF_RANGE
enum StreamError STREAM_ERROR_OUT_OF_RANGE;

Operation attempted to access out-of-range indices.

Meta

Authors

Luna Nielsen