MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / decode

Method decode

extern/md5/md5.cpp:454–461  ·  view source on GitHub ↗

Decodes input (unsigned char) into output (UINT4). Assumes len is a multiple of 4.

Source from the content-addressed store, hash-verified

452// Decodes input (unsigned char) into output (UINT4). Assumes len is
453// a multiple of 4.
454void MD5::decode (uint4 *output, uint1 *input, uint4 len){
455
456 unsigned int i, j;
457
458 for (i = 0, j = 0; j < len; i++, j += 4)
459 output[i] = ((uint4)input[j]) | (((uint4)input[j+1]) << 8) |
460 (((uint4)input[j+2]) << 16) | (((uint4)input[j+3]) << 24);
461}
462
463
464

Callers 2

runMethod · 0.80
get_and_replaceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected