Class WritableStream

A class to help write a stream of binary data to some target.

class WritableStream;

NOT YET FUNCTIONAL

Constructors

NameDescription
this (bufferSize)

Methods

NameDescription
close () Performs a final flush() call, then marks the stream as closed, meaning no further data will be written to it.
flush () Writes what is currently in the buffer to the target and waits for the target to accept it. Please note: if you are subclassing this to go to a different target
isClosed () Returns true if either you closed it or if the receiving end closed their side, indicating they don't want any more data.
put (value, byteOrder, file, line)
put (value, elementByteOrder, file, line)