title: What is the difference between byte[] and List<Byte> in Java?
body: <p>Both can be used to create an list of bytes. But what is the difference between them?</p>
  
  <pre><code>byte[] buffer;
  List&lt;Byte&gt; buffer;
  </code></pre>