terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Deflate()

int Ionic.Zlib.DeflateManager.Deflate ( FlushType flush)
inlinepackage

Definition at line 742 of file DeflateManager.cs.

743 {
745 for (;;)
746 {
747 ZlibCodec codec = this._codec;
748 if (codec.OutputBuffer != null)
749 {
751 if (codec.InputBuffer == null)
752 {
754 if (availableBytesIn != 0)
755 {
756 continue;
757 }
758 }
759 int num = this.status;
760 if (availableBytesIn == 0)
761 {
762 }
764 if (availableBytesOut != 0)
765 {
766 break;
767 }
768 }
769 }
770 int num2 = this.last_flush;
771 this.last_flush = (int)flush;
772 int num3 = this.status;
773 if (availableBytesOut == 0)
774 {
775 }
776 if (availableBytesOut == 0)
777 {
778 }
779 int num4 = this.w_bits;
780 CompressionLevel compressionLevel = this.compressionLevel;
781 int num5 = this.strstart;
782 int num6 = 3;
783 if (num5 == 0 || availableBytesOut == 0)
784 {
785 }
786 int num7 = 2115;
787 if (num4 == 0)
788 {
789 }
790 byte[] array = this.pending;
793 byte[] array2 = this.pending;
795 if (this.strstart != 0)
796 {
797 ZlibCodec codec2 = this._codec;
799 byte[] array3 = this.pending;
800 ZlibCodec codec3 = this._codec;
802 byte[] array4 = this.pending;
803 ZlibCodec codec4 = this._codec;
805 byte[] array5 = this.pending;
806 uint adler = codec4._Adler32;
807 ZlibCodec codec5 = this._codec;
809 byte[] array6 = this.pending;
810 uint adler2 = codec5._Adler32;
811 }
812 ZlibCodec codec6 = this._codec;
813 uint num8;
815 int num9 = this.pendingCount;
816 ZlibCodec codec7 = this._codec;
817 if (num9 != 0)
818 {
821 if (availableBytesOut2 == 0)
822 {
823 return;
824 }
825 int num10 = this.status;
826 if (availableBytesOut2 == 0)
827 {
828 }
829 ZlibCodec codec8 = this._codec;
831 if (availableBytesIn2 != 0)
832 {
834 return "status == FINISH_STATE && _codec.AvailableBytesIn != 0";
835 }
836 if (availableBytesIn2 != 0)
837 {
838 if (availableBytesOut2 == 0)
839 {
840 }
841 if ("status == FINISH_STATE && _codec.AvailableBytesIn != 0" != null || availableBytesOut2 != 0)
842 {
843 return;
844 }
845 }
846 if (flush != FlushType.None)
847 {
848 if (availableBytesIn2 == 0)
849 {
850 }
851 return;
852 }
853 return;
854 }
855 else
856 {
858 if (availableBytesOut2 != 0)
859 {
860 return "status == FINISH_STATE && _codec.AvailableBytesIn != 0";
861 }
862 return;
863 }
864 }
class f__AnonymousType0<< Count > j__TPar
CompressionLevel compressionLevel

References Ionic.Zlib.DeflateManager._codec, System.array, Ionic.Zlib.ZlibCodec.AvailableBytesIn, Ionic.Zlib.ZlibCodec.AvailableBytesOut, Ionic.Zlib.DeflateManager.compressionLevel, Ionic.Zlib.ZlibCodec.flush_pending(), j__TPar, Ionic.Zlib.DeflateManager.last_flush, Ionic.Zlib.ZlibCodec.OutputBuffer, Ionic.Zlib.DeflateManager.pending, Ionic.Zlib.DeflateManager.pendingCount, Ionic.Zlib.DeflateManager.status, Ionic.Zlib.DeflateManager.strstart, and Ionic.Zlib.DeflateManager.w_bits.

Referenced by Ionic.Zlib.ZlibCodec.Deflate().