title: Java equivalent of ntohll function
body: <p>Is there an equivalent of <code>ntohll</code> C++ function in Java?</p>
  
  <p>The reference of <code>ntohll</code> can be found here: <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/jj710202%28v=vs.85%29.aspx" rel="nofollow">ntohll function</a>.</p>
  
  <p>The thing is I need to convert a 64 bits long from TCP/IP network order to little endian long.</p>