nbsp;<span class="element-name">compress</span><wbr><span class="parameters">(<a href="../core/ByteArray.html" title="interface in burp.api.montoya.core">ByteArray</a>&nbsp;data,
 <a href="CompressionType.html" title="enum class in burp.api.montoya.utilities">CompressionType</a>&nbsp;type)</span></div>
<div class="block">Compress data using the specified compression type.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>data</code> - data to be compressed</dd>
<dd><code>type</code> - <a href="Compres