using System; using System.Runtime.CompilerServices; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib { // Token: 0x02001A11 RID: 6673 [Token(Token = "0x2001A11")] internal sealed class StaticTree { // Token: 0x06009C91 RID: 40081 RVA: 0x00203BE8 File Offset: 0x00201DE8 [Token(Token = "0x6009C91")] [Address(RVA = "0x412D50", Offset = "0x411D50", VA = "0x180412D50")] internal StaticTree(short[] static_tree, int[] extra_bits, int extra_base, int elems, int max_length) { this.elems = 0; this.static_tree = static_tree; this.extra_base = extra_base; this.max_length = 0; this.extra_bits = extra_bits; } // Token: 0x06009C92 RID: 40082 RVA: 0x00203C20 File Offset: 0x00201E20 // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x6009C92")] [Address(RVA = "0x412B50", Offset = "0x411B50", VA = "0x180412B50")] static StaticTree() { short[] array = new short[576]; RuntimeHelpers.InitializeArray(array, fieldof(.EB6F545AEF284339D25594F900E7A395212460EB).FieldHandle); StaticTree.static_ltree = array; short[] array2 = new short[60]; RuntimeHelpers.InitializeArray(array2, fieldof(.850D4DC092689E1F0D8A70B6281848B27DEC0014).FieldHandle); StaticTree.static_dtree = array2; short[] array3 = StaticTree.static_ltree; int[] extra_lbits = ZTree.extra_lbits; StaticTree staticTree; staticTree.static_tree = array3; staticTree.extra_bits = extra_lbits; staticTree.extra_base = (int)((ulong)257L); staticTree.elems = (int)((ulong)286L); staticTree.max_length = (int)((ulong)15L); StaticTree.static_l_desc = staticTree; short[] array4 = StaticTree.static_dtree; int[] extra_dbits = ZTree.extra_dbits; StaticTree staticTree2; staticTree2.static_tree = array4; staticTree2.extra_bits = extra_dbits; staticTree2.extra_base = (int)((ulong)0L); staticTree2.elems = (int)((ulong)30L); staticTree2.max_length = (int)((ulong)15L); StaticTree.static_d_desc = staticTree2; int[] extra_blbits = ZTree.extra_blbits; StaticTree staticTree3; staticTree3.extra_bits = extra_blbits; staticTree3.static_tree = (ulong)0L; staticTree3.extra_base = (int)((ulong)0L); staticTree3.elems = (int)((ulong)19L); staticTree3.max_length = (int)((ulong)7L); StaticTree.static_bl_desc = staticTree3; } // Token: 0x040069BD RID: 27069 [Token(Token = "0x40069BD")] private const int MAX_BITS = 15; // Token: 0x040069BE RID: 27070 [Token(Token = "0x40069BE")] private const int BL_CODES = 19; // Token: 0x040069BF RID: 27071 [Token(Token = "0x40069BF")] private const int D_CODES = 30; // Token: 0x040069C0 RID: 27072 [Token(Token = "0x40069C0")] private const int LITERALS = 256; // Token: 0x040069C1 RID: 27073 [Token(Token = "0x40069C1")] private const int LENGTH_CODES = 29; // Token: 0x040069C2 RID: 27074 [Token(Token = "0x40069C2")] private const int L_CODES = 286; // Token: 0x040069C3 RID: 27075 [Token(Token = "0x40069C3")] internal const int MAX_BL_BITS = 7; // Token: 0x040069C4 RID: 27076 [Token(Token = "0x40069C4")] internal static readonly short[] static_ltree; // Token: 0x040069C5 RID: 27077 [Token(Token = "0x40069C5")] internal static readonly short[] static_dtree; // Token: 0x040069C6 RID: 27078 [Token(Token = "0x40069C6")] internal static readonly StaticTree static_l_desc; // Token: 0x040069C7 RID: 27079 [Token(Token = "0x40069C7")] internal static readonly StaticTree static_d_desc; // Token: 0x040069C8 RID: 27080 [Token(Token = "0x40069C8")] internal static readonly StaticTree static_bl_desc; // Token: 0x040069C9 RID: 27081 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40069C9")] internal short[] static_tree; // Token: 0x040069CA RID: 27082 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40069CA")] internal int[] extra_bits; // Token: 0x040069CB RID: 27083 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40069CB")] internal int extra_base; // Token: 0x040069CC RID: 27084 [FieldOffset(Offset = "0x24")] [Token(Token = "0x40069CC")] internal int elems; // Token: 0x040069CD RID: 27085 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40069CD")] internal int max_length; } }