Function readAll
Reads the complete contents of a stream, optionally limited by max_bytes.
ubyte[] readAll(InputStream)
(
InputStream stream,
size_t max_bytes = size_t .max,
size_t reserve_bytes = 0
)
if (isInputStream!InputStream);
Throws
An exception is thrown if the stream contains more than max_bytes data.