MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / Set32Bytes

Method Set32Bytes

Int.cpp:283–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void Int::Set32Bytes(unsigned char *bytes) {
284
285 CLEAR();
286 uint64_t *ptr = (uint64_t *)bytes;
287 bits64[3] = _byteswap_uint64(ptr[0]);
288 bits64[2] = _byteswap_uint64(ptr[1]);
289 bits64[1] = _byteswap_uint64(ptr[2]);
290 bits64[0] = _byteswap_uint64(ptr[3]);
291
292}
293
294void Int::Get32Bytes(unsigned char *buff) {
295

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected