title: When to use byte array & when byte buffer?
body: <p>What is the difference between a byte array &amp; byte buffer ?<br>
    <strong>Also, in what situations should one be preferred over the other?</strong></p>
  
  <p>[my usecase is for a web application being developed in java].</p>