The OpenD Programming Language

DigestType

Use this template to get the type which is returned by a digest's finish method.

template DigestType (
T
) {}

Examples

import std.digest.crc;
assert(is(DigestType!(CRC32) == ubyte[4]));
import std.digest.crc;
CRC32 dig;
dig.start();
DigestType!CRC32 result = dig.finish();

Meta