public boolean arraysEquals(Output output) {
      return Arrays.equals(super.buf, output.buf);
    }
Optimize for the common cases:
<ul>
  <li>Reserve 1 byte</li>
  <li>Reserve 1 int (4 bytes)</li>
</ul>
serde/src/java/org/apache/hadoop/hive/serde2/ByteStream.java