On 15-Aug-12 12:45, Kagamin wrote:
On Wednesday, 15 August 2012 at 08:25:51 UTC, Dmitry Olshansky wrote:
Brrr. It's how convenience wrapper works :)

And I totally expect this to call the same code and keep the same
state during the work.

E.g. see std.digest.digest functions digest or hexDigest you could
call it stateless in the same vane.

Well there was a wish for stateless hash, Walter even posted the
required interface:
auto result = file.byChunk(4096 * 1025).joiner.hash();

auto result = file.byChunk(4096 * 1025).joiner.digest();

and is already supported in the proposal, peek at updated docs.

There is no need for additional methods and whatnot.

--
Olshansky Dmitry

Reply via email to