BinaryReader.readArray

Reads array with length elements.

  1. void readArray(ref T[] arr, size_t length)
    struct BinaryReader(Range = ubyte[])
    void
    readArray
    (
    T
    )
    (
    ref T[] arr
    ,
    size_t length
    )
    if (
    isInputRange!Range &&
    is(ElementType!Range == ubyte)
    )
  2. T[] readArray(size_t num)

Parameters

arr
Type: T[]

Array to read to.

length
Type: size_t

Number of elements to read.

Throws

DecodeException

Meta