Function CountingOutputStream.this
Constructs a new counting stream
.
Prototype
this(
OutputStream stream,
ulong write_limit = 18446744073709551615LU
);
Parameters
Name | Description |
---|
stream
The output stream
to forward all writes to.
write limit
Optional limit of bytes to write
to the destination
stream
. Writing past this limit will cause write
to throw
an exception.
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.