Wraps an existing output stream with a compressed output.
@override List<int> compress(List<int> data) { return GZipEncoder().encode(data)!; }