Reads an unidimensional array from a stream.
By default reads the array length as a ulong and then always the array content.
When set to true (the default), the array length is read.
Otherwise the data are read according to the current array length.
The Stream where data are read.
The array to read.