title: Converting 2 longs to corresponding byte[], and combining with a delimeter in between
body: <p>I need to convert 2 longs to corresponding byte[], and then combine them with a delimeter in between. What is the most performant way to do this ? (I need to store resultant byte[] in the database.)</p>
  
  <pre><code>         like I have-
           long a=5324565343L  
           long b=423456L
  </code></pre>
  
  <p>then I want the byte[] representation of :-   </p>
  
  <pre><code>         5324565343-423456
  </code></pre>
  
  <p><strong>EDIT</strong>: Couldnt understand what was actually unclear but still for clarification, 
  I intially have 2 <code>long</code>(s) &amp; I just want a byte[] of their concatenated form. </p>