ByteStream.readArray

Reads an array.

in case of insufficient bytes in stream, will return array of correct length but missing bytes at end. readCount is the number of elements that were actually read (this can be < length if stream doesnt have enough bytes) n is the number of bytes to read for length of array, default(0) is size_t.sizeof

  1. T[] readArray(uinteger readCount, ubyte n)
    class ByteStream
    T[]
    readArray
    (
    T
    )
    (,
    ubyte n = 0
    )
  2. T[] readArray(ubyte n)

Return Value

Type: T[]

the read array

Meta