SHARE
TWEET

Untitled

a guest Mar 21st, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. uint64_t value =  (uint64_t)(memory[256]) | //location contains byte 88
  2.            (uint64_t)(memory[257]) << 8  |          //77
  3.            (uint64_t)(memory[258]) << 16 |          //66
  4.            (uint64_t)(memory[259]) << 24 |          //55
  5.            (uint64_t)(memory[260]) << 32 |          //44
  6.            (uint64_t)(memory[261]) << 40 |          //33
  7.            (uint64_t)(memory[262]) << 48 |          //22
  8.            (uint64_t)(memory[263]) << 56;           //11
  9.    
  10. printf("0x%x", value);
RAW Paste Data
Top