title: What is exactly created by this ByteBuffer.allocate() method?
body: <p>into a Java application I found this line:</p>
  
  <pre><code>ByteBuffer b = ByteBuffer.allocate(Integer.SIZE / 8);
  </code></pre>
  
  <p>It creats a <strong>ByteBuffer</strong> object (that I think is used to read and write single byte. So what it means? That I can put and read only bytes in this object?).</p>
  
  <p>So the <strong>ByteBuffer.allocate()</strong> method seems to be something like a factory method that return a Byte.</p>
  
  <p>But what exactly is allocating passing the <strong>Integer.SIZE / 8</strong> value as input parameter?</p>