@@ -27,7 +27,7 @@ private Blosc() {
2727 *
2828 * @param src Byte array to be compressed.
2929 * @param typeSize Number of bytes per primitive value (e.g. 1 for int8, 2 for int16, 4 for int32).
30- * @param compressor Compression algorithm. Available choices: LZ4, LZ4HC, BLOSCLZ, ZSTD, SNAPPY , ZLIB.
30+ * @param compressor Compression algorithm. Available choices: LZ4, LZ4HC, BLOSCLZ, ZSTD< , ZLIB.
3131 * @param compressorLevel Number from 0 to 9 (0 = little compression, 9 = strongest compression).
3232 * @param shuffle Whether to use shuffling. Available choices: NOSHUFFLE, BIT_SHUFFLE, BYTE_SHUFFLE. Recommended:
3333 * BIT_SHUFFLE for typeSize == 1, BYTE_SHUFFLE otherwise.
@@ -44,7 +44,7 @@ public static byte[] compress(byte[] src, int typeSize, Compressor compressor, i
4444 *
4545 * @param src Byte array to be compressed.
4646 * @param typeSize Number of bytes per primitive value (e.g. 1 for int8, 2 for int16, 4 for int32).
47- * @param compressor Compression algorithm. Available choices: LZ4, LZ4HC, BLOSCLZ, ZSTD, SNAPPY , ZLIB.
47+ * @param compressor Compression algorithm. Available choices: LZ4, LZ4HC, BLOSCLZ, ZSTD< , ZLIB.
4848 * @param compressorLevel Number from 0 to 9 (0 = little compression, 9 = strongest compression).
4949 * @param shuffle Whether to use shuffling. Available choices: NOSHUFFLE, BIT_SHUFFLE, BYTE_SHUFFLE. Recommended:
5050 * BIT_SHUFFLE for typeSize == 1, BYTE_SHUFFLE otherwise.
@@ -60,7 +60,8 @@ public static byte[] compress(byte[] src, int typeSize, Compressor compressor, i
6060 *
6161 * @param src Byte array to be compressed.
6262 * @param typeSize Number of bytes per primitive value (e.g. 1 for int8, 2 for int16, 4 for int32).
63- * @param compressor Compression algorithm. Available choices: Available choices: LZ4, LZ4HC, BLOSCLZ, ZSTD, SNAPPY, ZLIB.
63+ * @param compressor Compression algorithm. Available choices: Available choices: LZ4, LZ4HC, BLOSCLZ,
64+ * ZSTD<, ZLIB.
6465 * @param compressorLevel Number from 0 to 9 (0 = little compression, 9 = strongest compression).
6566 * @param shuffle Whether to use shuffling. Available choices: NOSHUFFLE, BIT_SHUFFLE, BYTE_SHUFFLE. Recommended:
6667 * BIT_SHUFFLE for typeSize == 1, BYTE_SHUFFLE otherwise.
@@ -75,7 +76,7 @@ public static byte[] compress(byte[] src, int typeSize, Compressor compressor, i
7576 *
7677 * @param src Byte array to be compressed.
7778 * @param typeSize Number of bytes per primitive value (e.g. 1 for int8, 2 for int16, 4 for int32).
78- * @param compressor Compression algorithm. Available choices: LZ4, LZ4HC, BLOSCLZ, ZSTD, SNAPPY , ZLIB.
79+ * @param compressor Compression algorithm. Available choices: LZ4, LZ4HC, BLOSCLZ, ZSTD< , ZLIB.
7980 * @param compressorLevel Number from 0 to 9 (0 = little compression, 9 = strongest compression).
8081 * @return the compressed byte array
8182 */
@@ -89,7 +90,7 @@ public static byte[] compress(byte[] src, int typeSize, Compressor compressor, i
8990 *
9091 * @param src Byte array to be compressed.
9192 * @param typeSize Number of bytes per primitive value (e.g. 1 for int8, 2 for int16, 4 for int32).
92- * @param compressor Compression algorithm. Available choices: LZ4, LZ4HC, BLOSCLZ, ZSTD, SNAPPY , ZLIB.
93+ * @param compressor Compression algorithm. Available choices: LZ4, LZ4HC, BLOSCLZ, ZSTD< , ZLIB.
9394 * @return the compressed byte array
9495 */
9596 public static byte [] compress (byte [] src , int typeSize , Compressor compressor ) {
@@ -188,10 +189,6 @@ public enum Compressor {
188189 * <a href="https://facebook.github.io/zstd/">Zstandard compression</a>
189190 */
190191 ZSTD ("zstd" ),
191- /**
192- * <a href="https://google.github.io/snappy/">Snappy compression</a>
193- */
194- SNAPPY ("snappy" ),
195192 /**
196193 * <a href="https://zlib.net/">Zlib compression</a>
197194 */
0 commit comments