@Override
  public boolean needsInput() {
    return (inBuf.position() == 0);
  }
Hadoop decompressor glue for zstd-java.
hbase-compression/hbase-compression-zstd/src/main/java/org/apache/hadoop/hbase/io/compress/zstd/ZstdDecompressor.java