vibe.d beta banner
get vibe.d
0.7.30

Function readAll

Reads the complete contents of a stream, optionally limited by max_bytes.

Prototype

ubyte[] readAll(
  InputStream stream,
  ulong max_bytes = 18446744073709551615LU,
  ulong reserve_bytes = 0LU
);

Throws

An exception is thrown if the stream contains more than max_bytes data.

block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License