BinaryReader.read

Reads T type from stream and returns it.

If there is insufficient data in input stream, DecodeException is thrown.

  1. void read(ref T value)
  2. T read()
    struct BinaryReader(Range = ubyte[])
    T
    read
    (
    T
    )
    (
    )
    if (
    isInputRange!Range &&
    is(ElementType!Range == ubyte)
    )
  3. void read(ref T values)

Return Value

Type: T

Read value of type T.

Throws

DecodeException

Meta