Function readAll
Reads the complete contents of a stream
, optionally limited by max_bytes
.
Prototype
ubyte[] readAll( InputStream stream, ulong max_bytes, ulong reserve_bytes );
Throws
An exception is thrown if the stream
contains more than max_bytes
data.
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.