title: How to compress this list<int> l = [14, 0, -31, 16, 68, 69, 86, 69, 76, 79, 80, 69, 82, 32] in flutter?
body: <p>list l = [14, 0, -31, 16, 68, 69, 86, 69, 76, 79, 80, 69, 82, 32]</p>
  <p>I have compressed this in java using Deflater class which is working fine in my java server. The output of compressed byte array is [120, -100, -29, 99, 120, 40, -32, -30, 26, -26, -22, -29, 31, -32]</p>
  <p>But when I m compressing this in flutter using Deflate class, Im getting
  [227, 99, 120, 40, 224, 226, 26, 230, 234, 227, 31, 224, 26, 164, 0, 0]</p>
  <p>This is the code in flutter:</p>
  <pre><code>var compressor = Deflate(l);
  List&lt;int&gt; compressedBytes = compressor.getBytes();
  </code></pre>
  <p>Where I am making mistakes?</p>