Package burp.api.montoya.utilities
Interface CompressionUtils
public interface CompressionUtils
This interface gives you access to data compression features.
-
Method Summary
Modifier and TypeMethodDescriptioncompress
(ByteArray data, CompressionType type) Compress data using the specified compression type.decompress
(ByteArray compressedData, CompressionType type) Decompress data compressed using the specified compression type.
-
Method Details
-
compress
Compress data using the specified compression type.- Parameters:
data
- data to be compressedtype
-CompressionType
to use. Only GZIP is supported- Returns:
- compressed data
-
decompress
Decompress data compressed using the specified compression type.- Parameters:
compressedData
- data to be decompressedtype
-CompressionType
of the compressed data- Returns:
- decompressed data
-