139 lines
4.4 KiB
C#
139 lines
4.4 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Zlib
|
|
{
|
|
// Token: 0x02001354 RID: 4948
|
|
[Token(Token = "0x2001354")]
|
|
[StructLayout(3)]
|
|
internal sealed class StaticTree
|
|
{
|
|
// Token: 0x06007CE9 RID: 31977 RVA: 0x001A3348 File Offset: 0x001A1548
|
|
[Token(Token = "0x6007CE9")]
|
|
[Address(RVA = "0xE339C0", Offset = "0xE323C0", VA = "0x180E339C0")]
|
|
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: 0x06007CEA RID: 31978 RVA: 0x001A3380 File Offset: 0x001A1580
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x6007CEA")]
|
|
[Address(RVA = "0x2033B60", Offset = "0x2032560", VA = "0x182033B60")]
|
|
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: 0x040059C1 RID: 22977
|
|
[Token(Token = "0x40059C1")]
|
|
private const int MAX_BITS = 15;
|
|
|
|
// Token: 0x040059C2 RID: 22978
|
|
[Token(Token = "0x40059C2")]
|
|
private const int BL_CODES = 19;
|
|
|
|
// Token: 0x040059C3 RID: 22979
|
|
[Token(Token = "0x40059C3")]
|
|
private const int D_CODES = 30;
|
|
|
|
// Token: 0x040059C4 RID: 22980
|
|
[Token(Token = "0x40059C4")]
|
|
private const int LITERALS = 256;
|
|
|
|
// Token: 0x040059C5 RID: 22981
|
|
[Token(Token = "0x40059C5")]
|
|
private const int LENGTH_CODES = 29;
|
|
|
|
// Token: 0x040059C6 RID: 22982
|
|
[Token(Token = "0x40059C6")]
|
|
private const int L_CODES = 286;
|
|
|
|
// Token: 0x040059C7 RID: 22983
|
|
[Token(Token = "0x40059C7")]
|
|
internal const int MAX_BL_BITS = 7;
|
|
|
|
// Token: 0x040059C8 RID: 22984
|
|
[Token(Token = "0x40059C8")]
|
|
internal static readonly short[] static_ltree;
|
|
|
|
// Token: 0x040059C9 RID: 22985
|
|
[Token(Token = "0x40059C9")]
|
|
internal static readonly short[] static_dtree;
|
|
|
|
// Token: 0x040059CA RID: 22986
|
|
[Token(Token = "0x40059CA")]
|
|
internal static readonly StaticTree static_l_desc;
|
|
|
|
// Token: 0x040059CB RID: 22987
|
|
[Token(Token = "0x40059CB")]
|
|
internal static readonly StaticTree static_d_desc;
|
|
|
|
// Token: 0x040059CC RID: 22988
|
|
[Token(Token = "0x40059CC")]
|
|
internal static readonly StaticTree static_bl_desc;
|
|
|
|
// Token: 0x040059CD RID: 22989
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40059CD")]
|
|
internal short[] static_tree;
|
|
|
|
// Token: 0x040059CE RID: 22990
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40059CE")]
|
|
internal int[] extra_bits;
|
|
|
|
// Token: 0x040059CF RID: 22991
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40059CF")]
|
|
internal int extra_base;
|
|
|
|
// Token: 0x040059D0 RID: 22992
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x40059D0")]
|
|
internal int elems;
|
|
|
|
// Token: 0x040059D1 RID: 22993
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40059D1")]
|
|
internal int max_length;
|
|
}
|
|
}
|