DataInputStream.readFromStream

Reads a value from the stream and returns either the value that was read successfully, or an error message. If you want to ignore errors, you can use readFromStreamOrDefault instead.

  1. StreamResult readFromStream(ubyte[] buffer)
  2. DataReadResult!T readFromStream()
    struct DataInputStream(S)
    readFromStream
    (
    T
    )
    ()

Return Value

Type: DataReadResult!T

A result containing either that value that was read, or an error.

Meta