title: Read bytes, convert to Integer
body: <p>The specification for an <strong>ELF_64_word</strong> states that variables of this type are four bytes in length and are <em>unsigned integers</em>.</p>
  
  <pre><code>Table 1. ELF-64 Data Types
  Name         Size Alignment       Purpose
  Elf64_Addr    8      8      Unsigned program address
  Elf64_Off     8      8      Unsigned file offset
  Elf64_Half    2      2      Unsigned medium integer
  Elf64_Word    4      4      Unsigned integer
  Elf64_Sword   4      4      Signed integer
  Elf64_Xword   8      8      Unsigned long integer
  Elf64_Sxword  8      8      Signed long integer
  unsigned char 1      1      Unsigned small integer
  </code></pre>
  
  <p>I have a sequence of bytes where I have located four bytes of some Elf64_word. My question is how would I read these bytes as an unsigned integer in Java?</p>
  
  <p>Thanks</p>