public void uncompressTags(InputStream src, ByteBuffer dest, int length) throws IOException {
    if (dest.hasArray()) {
      uncompressTags(src, dest.array(), dest.arrayOffset() + dest.position(), length);
    } else {
      byte[] tagBuf = new byte[length];
      uncompressTags(src, tagBuf, 0, length);
      dest.put(tagBuf);
    }
  }
Uncompress tags from the InputStream and writes to the destination buffer.
@param src    Stream where the compressed tags are available
@param dest   Destination buffer where to write the uncompressed tags
@param length Length of all tag bytes
@throws IOException when the dictionary does not have the entry
hbase-common/src/main/java/org/apache/hadoop/hbase/io/TagCompressionContext.java