public void reset() {
    this.pos = 0;
  }
Resets the <code>pos</code> field of this byte array output stream to zero. The output stream
can be used again.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteArrayOutputStream.java