This commit is contained in:
niko
2026-04-08 23:40:05 +02:00
parent d6894bcbc7
commit 18dc73f922
7750 changed files with 1795369 additions and 0 deletions
@@ -0,0 +1,76 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
{
// Token: 0x02001372 RID: 4978
[Token(Token = "0x2001372")]
[StructLayout(3)]
public class HexTranslator : ITranslator
{
// Token: 0x06007DF1 RID: 32241 RVA: 0x001A7294 File Offset: 0x001A5494
[Token(Token = "0x6007DF1")]
[Address(RVA = "0x8509C0", Offset = "0x84F3C0", VA = "0x1808509C0", Slot = "4")]
public int GetEncodedBlockSize()
{
return 2;
}
// Token: 0x06007DF2 RID: 32242 RVA: 0x001A72A4 File Offset: 0x001A54A4
[Token(Token = "0x6007DF2")]
[Address(RVA = "0x202B8F0", Offset = "0x202A2F0", VA = "0x18202B8F0", Slot = "5")]
public int Encode(byte[] input, int inOff, int length, byte[] outBytes, int outOff)
{
int num = 0;
if (length > 0)
{
num++;
}
throw new NullReferenceException();
}
// Token: 0x06007DF3 RID: 32243 RVA: 0x001A72C0 File Offset: 0x001A54C0
[Token(Token = "0x6007DF3")]
[Address(RVA = "0x3E2800", Offset = "0x3E1200", VA = "0x1803E2800", Slot = "6")]
public int GetDecodedBlockSize()
{
return 1;
}
// Token: 0x06007DF4 RID: 32244 RVA: 0x001A72D0 File Offset: 0x001A54D0
[Token(Token = "0x6007DF4")]
[Address(RVA = "0x202B7B0", Offset = "0x202A1B0", VA = "0x18202B7B0", Slot = "7")]
public int Decode(byte[] input, int inOff, int length, byte[] outBytes, int outOff)
{
int num = 0;
if (length > 0)
{
int length2 = input.Length;
num++;
}
return length;
}
// Token: 0x06007DF5 RID: 32245 RVA: 0x001A72F8 File Offset: 0x001A54F8
[Token(Token = "0x6007DF5")]
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
public HexTranslator()
{
}
// Token: 0x06007DF6 RID: 32246 RVA: 0x001A730C File Offset: 0x001A550C
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x6007DF6")]
[Address(RVA = "0x202BAA0", Offset = "0x202A4A0", VA = "0x18202BAA0")]
static HexTranslator()
{
RuntimeHelpers.InitializeArray(new byte[16], fieldof(<PrivateImplementationDetails>.FE5567E8D769550852182CDF69D74BB16DFF8E29).FieldHandle);
}
// Token: 0x04005A49 RID: 23113
[Token(Token = "0x4005A49")]
private static readonly byte[] hexTable;
}
}