StreamWriter

A stream writer is a helper class which makes it easier to write data to streams.

Constructors

this
this(Stream stream)

Constructs a new stream writer

Members

Functions

writeBE
void writeBE(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeLE
void writeLE(T value)

Reads a value from the stream.

writeUTF16
void writeUTF16(wstring value)

Writes a UTF16 string to the stream.

writeUTF16BE
void writeUTF16BE(wstring value)

Writes a UTF16 string to the stream.

writeUTF16LE
void writeUTF16LE(wstring value)

Writes a UTF16 string to the stream.

writeUTF32
void writeUTF32(dstring value)

Writes a UTF32 string to the stream.

writeUTF32BE
void writeUTF32BE(dstring value)

Writes a UTF32 string to the stream.

writeUTF32LE
void writeUTF32LE(dstring value)

Writes a UTF32 string to the stream.

writeUTF8
void writeUTF8(string value)

Writes a UTF8 string to the stream.

Properties

stream
Stream stream [@property getter]

The stream this writer is writing to

Meta