DataOutputStream

An output stream that is wrapped around a byte output stream, so that values may be written to the stream as bytes.

Constructors

this
this(S stream, Endianness endianness)

Constructs the data output stream so it will write to the given stream.

Members

Functions

writeToStream
StreamResult writeToStream(ubyte[] buffer)

Delegates writing to the underlying stream.

writeToStream
OptionalStreamError writeToStream(T value)

Writes a value of type T to the stream. If writing fails for whatever reason, a StreamException is thrown.

Meta