BinaryReader.readArray

Reads array of type T with num elemetns and returns it.

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

Return Value

Type: T[]

Array with num elements.

Throws

DecodeException

Meta