Files
2026-04-10 22:50:51 +02:00

137 lines
4.3 KiB
C#

using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
{
// Token: 0x02001931 RID: 6449
[Token(Token = "0x2001931")]
internal sealed class StaticTree
{
// Token: 0x060098C3 RID: 39107 RVA: 0x001FAB50 File Offset: 0x001F8D50
[Token(Token = "0x60098C3")]
[Address(RVA = "0x1625C10", Offset = "0x1624A10", VA = "0x181625C10")]
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: 0x060098C4 RID: 39108 RVA: 0x001FAB88 File Offset: 0x001F8D88
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x60098C4")]
[Address(RVA = "0x1625A10", Offset = "0x1624810", VA = "0x181625A10")]
static StaticTree()
{
short[] array = new short[576];
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.EB6F545AEF284339D25594F900E7A395212460EB).FieldHandle);
StaticTree.static_ltree = array;
short[] array2 = new short[60];
RuntimeHelpers.InitializeArray(array2, fieldof(<PrivateImplementationDetails>.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: 0x04006804 RID: 26628
[Token(Token = "0x4006804")]
private const int MAX_BITS = 15;
// Token: 0x04006805 RID: 26629
[Token(Token = "0x4006805")]
private const int BL_CODES = 19;
// Token: 0x04006806 RID: 26630
[Token(Token = "0x4006806")]
private const int D_CODES = 30;
// Token: 0x04006807 RID: 26631
[Token(Token = "0x4006807")]
private const int LITERALS = 256;
// Token: 0x04006808 RID: 26632
[Token(Token = "0x4006808")]
private const int LENGTH_CODES = 29;
// Token: 0x04006809 RID: 26633
[Token(Token = "0x4006809")]
private const int L_CODES = 286;
// Token: 0x0400680A RID: 26634
[Token(Token = "0x400680A")]
internal const int MAX_BL_BITS = 7;
// Token: 0x0400680B RID: 26635
[Token(Token = "0x400680B")]
internal static readonly short[] static_ltree;
// Token: 0x0400680C RID: 26636
[Token(Token = "0x400680C")]
internal static readonly short[] static_dtree;
// Token: 0x0400680D RID: 26637
[Token(Token = "0x400680D")]
internal static readonly StaticTree static_l_desc;
// Token: 0x0400680E RID: 26638
[Token(Token = "0x400680E")]
internal static readonly StaticTree static_d_desc;
// Token: 0x0400680F RID: 26639
[Token(Token = "0x400680F")]
internal static readonly StaticTree static_bl_desc;
// Token: 0x04006810 RID: 26640
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4006810")]
internal short[] static_tree;
// Token: 0x04006811 RID: 26641
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4006811")]
internal int[] extra_bits;
// Token: 0x04006812 RID: 26642
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4006812")]
internal int extra_base;
// Token: 0x04006813 RID: 26643
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x4006813")]
internal int elems;
// Token: 0x04006814 RID: 26644
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4006814")]
internal int max_length;
}
}