toHexString the result will be in an unexpectedtoHexString's optional order parameterCyclic Redundancy Check (32-bit) implementation.
| Category | Functions |
|---|---|
| Template API | CRC CRC32 CRC64ECMA CRC64ISO
|
| OOP API | CRC32Digest CRC64ECMADigest CRC64ISODigest |
| Helpers | crcHexString crc32Of crc64ECMAOf crc64ISOOf |
*
std.digest. To understand thestd.digest. std.digest and can be used as a stand-alonetoHexString the result will be in an unexpectedtoHexString's optional order parameterTemplate API CRC32 implementation. See std.digest for differences between template and OOP API.
Template API CRC64-ECMA implementation. See std.digest for differences between template and OOP API.
Template API CRC64-ISO implementation. See std.digest for differences between template and OOP API.
Generic Template API used for CRC32 and CRC64 implementations.
The N parameter indicate the size of the hash in bits. The parameter P specify the polynomial to be used for reduction.
You may want to use the CRC32, CRC65ECMA and CRC64ISO aliases for convenience.
See std.digest for differences between template and OOP API.
void put(scope const(ubyte)[] data...) @trusted pure nothrow @nogcUse this to feed the digest with data. Also implements the isOutputRange interface for `ubyte` and `const(ubyte)[]`.R finish() @safe pure nothrow @nogcReturns the finished CRC hash. This also calls start to reset the internal state.R peek() const @safe pure nothrow @nogcWorks like `finish` but does not reset the internal state, so it's possible to continue putting data into this CRC after a call to peek.producing the usual CRC32 string output.
ditto
OOP API CRC32 implementation. See std.digest for differences between template and OOP API.
This is an alias for , see there for more information.WrapperDigest!CRC32
OOP API CRC64-ECMA implementation. See std.digest for differences between template and OOP API.
This is an alias for , see there for more information.WrapperDigest!CRC64ECMA
OOP API CRC64-ISO implementation. See std.digest for differences between template and OOP API.
This is an alias for , see there for more information.WrapperDigest!CRC64ISO
ubyte[4] crc32Of(T...)(T data)This is a convenience alias for digest using the CRC32 implementation.ubyte[8] crc64ECMAOf(T...)(T data)This is a convenience alias for digest using the CRC64-ECMA implementation.ubyte[8] crc64ISOOf(T...)(T data)This is a convenience alias for digest using the CRC64-ISO implementation.