ByteStream.read

Reads a data type T from current seek. **Do not use this for reading arrays**

Will return invalid data if there are insufficient bytes to read from. Sets incompleteRead to true if there were less bytes in stream that T.sizeof If value of n is non-zero, that number of bytes will be read.

  1. T read(bool incompleteRead, ubyte n)
  2. T read(ubyte n)
    class ByteStream
    T
    read
    (
    T
    )
    (
    ubyte n = 0
    )

Return Value

Type: T

the read data

Meta