@SuppressFBWarnings(value = "EI_EXPOSE_REP2", justification = "Intended")
  public void reset(byte[] input, int start, int length) {
    buf = input;
    count = start + length;
    mark = start;
    pos = start;
  }
A thread-not-safe version of ByteArrayInputStream, which removes all
synchronized modifiers.
common/src/java/org/apache/hadoop/hive/common/io/NonSyncByteArrayInputStream.java