}
end = System.currentTimeMillis();
SnappyBuffer resume = SnappyDecompressor.decompress(afterCompress);
System.out.println("Snappy Decompress cost " + (end - start) + "ms");
assertArrayEquals(cmp, resume.toByteArray());
// Snappy.compress(uncompressed, uncompressedOffset, uncompressedLength,
// compressed, compressedOffset)
}
@Test