BinaryReader.read

Reads specified value from input stream.

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

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

Parameters

value
Type: T

Value to read to

Throws

DecodeException

Meta