title: Java: Conversion of String to byte array, then to long value and vice versa
body: <p>Basically, I'm looking for .NET's <strong><em>BitConverter</em></strong>.</p>
  
  <p>I need to get bytes from String, then parse them to long value and store it. After that, read long value, parse to byte array and create original String. How can I achieve this in Java?</p>
  
  <p>Edit: Someone did already ask similar question. I am looking more like for samples then javadoc reference ...</p>