io.stream

Modules

interfaces
module io.stream.interfaces
shim
module io.stream.shim
traits
module io.stream.traits
types
module io.stream.types

Public Imports

io.stream.types
public import io.stream.types;
Undocumented in source.
io.stream.traits
public import io.stream.traits;
Undocumented in source.
io.stream.shim
public import io.stream.shim;
Undocumented in source.

Members

Functions

readAll
T[] readAll(Stream stream, long upTo)

Reads the rest of the stream.

readExactly
T[] readExactly(Stream stream, T[] buf)

Reads exactly the number of bytes requested from the stream. Throws an exception if it cannot be done. Returns the filled buffer.

skip
long skip(Stream stream, long offset)

Skip the specified number of bytes forward or backward.

writeExactly
void writeExactly(Stream stream, T[] buf)

Writes exactly the given buffer and no less. Throws an exception if it cannot be done.

writeExactly
void writeExactly(Stream stream, T value)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

position
Stream position [@property setter]

Set the position (in bytes) of a stream.

position
auto position [@property getter]

Gets the position (in bytes) of a stream.

Meta

Authors

Jason White