Checksum.getDigest

Gets the digest from checksum as a raw binary vector and places it into buffer. The size of the digest depends on the type of checksum. Once this function has been called, the GChecksum is closed and can no longer be updated with g_checksum_update(). Since 2.16

class Checksum
void
getDigest

Parameters

buffer ubyte*

output buffer

digestLen gsize*

an inout parameter. The caller initializes it to the size of buffer. After the call it contains the length of the digest.

Meta