@Override
  public boolean canDecompress(ByteBuff output, ByteBuff input) {
    return allowByteBuffDecompression && output instanceof SingleByteBuff
      && input instanceof SingleByteBuff;
  }
Glue for ByteBuffDecompressor on top of zstd-jni
hbase-compression/hbase-compression-zstd/src/main/java/org/apache/hadoop/hbase/io/compress/zstd/ZstdByteBuffDecompressor.java