jaster.stream.core

Undocumented in source.

Members

Classes

Stream
class Stream

The base class for all streams.

StreamCannotReadException
class StreamCannotReadException
StreamCannotSeekException
class StreamCannotSeekException
StreamCannotTimeoutException
class StreamCannotTimeoutException

Thrown if the stream doesn't support writing.

StreamCannotWriteException
class StreamCannotWriteException
StreamDisposedException
class StreamDisposedException

Thrown if the stream doesn't support writing.

StreamException
class StreamException

Base stream exception class.

Functions

enforceCanRead
void enforceCanRead(Stream stream)
enforceCanSeek
void enforceCanSeek(Stream stream)
enforceCanTimeout
void enforceCanTimeout(Stream stream)

Throws an exception if the given stream does not support writing/reading/seeking/timeouts.

enforceCanWrite
void enforceCanWrite(Stream stream)
enforceNotDisposed
void enforceNotDisposed(Stream stream)

Throws an exception if the given stream does not support writing/reading/seeking/timeouts.

Imports

Duration (from core.time)
public import core.time : Duration;
Undocumented in source.

Meta