readArray

Reads an unidimensional array from a stream.

By default reads the array length as a ulong and then always the array content.

void
readArray
(
bool ReadLength = true
T
)
(
,
ref T t
)
if (
isArray!T &&
)

Parameters

ReadLength

When set to true (the default), the array length is read. Otherwise the data are read according to the current array length.

str
Type: Stream

The Stream where data are read.

t
Type: T

The array to read.

Meta