DataOutputStream.writeToStream

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

  1. StreamResult writeToStream(ubyte[] buffer)
  2. OptionalStreamError writeToStream(T value)
    struct DataOutputStream(S)
    writeToStream
    (
    T
    )
    ()

Parameters

value T

The value to write.

Return Value

A nullable error, which is set if an error occurs.

Meta