oh dear
This commit is contained in:
+97
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
||||
{
|
||||
// Token: 0x02001952 RID: 6482
|
||||
[Token(Token = "0x2001952")]
|
||||
public class UrlBase64
|
||||
{
|
||||
// Token: 0x060099D8 RID: 39384 RVA: 0x001FE93C File Offset: 0x001FCB3C
|
||||
[Token(Token = "0x60099D8")]
|
||||
[Address(RVA = "0x18EB760", Offset = "0x18EA560", VA = "0x1818EB760")]
|
||||
public static byte[] Encode(byte[] data)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
int length = data.Length;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099D9 RID: 39385 RVA: 0x001FE968 File Offset: 0x001FCB68
|
||||
[Token(Token = "0x60099D9")]
|
||||
[Address(RVA = "0x18EB6C0", Offset = "0x18EA4C0", VA = "0x1818EB6C0")]
|
||||
public static int Encode(byte[] data, Stream outStr)
|
||||
{
|
||||
return data.Length;
|
||||
}
|
||||
|
||||
// Token: 0x060099DA RID: 39386 RVA: 0x001FE984 File Offset: 0x001FCB84
|
||||
[Token(Token = "0x60099DA")]
|
||||
[Address(RVA = "0x18EB430", Offset = "0x18EA230", VA = "0x1818EB430")]
|
||||
public static byte[] Decode(byte[] data)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
int length = data.Length;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099DB RID: 39387 RVA: 0x001FE9B0 File Offset: 0x001FCBB0
|
||||
[Token(Token = "0x60099DB")]
|
||||
[Address(RVA = "0x18EB590", Offset = "0x18EA390", VA = "0x1818EB590")]
|
||||
public static int Decode(byte[] data, Stream outStr)
|
||||
{
|
||||
return data.Length;
|
||||
}
|
||||
|
||||
// Token: 0x060099DC RID: 39388 RVA: 0x001FE9CC File Offset: 0x001FCBCC
|
||||
[Token(Token = "0x60099DC")]
|
||||
[Address(RVA = "0x18EB2E0", Offset = "0x18EA0E0", VA = "0x1818EB2E0")]
|
||||
public static byte[] Decode(string data)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099DD RID: 39389 RVA: 0x001FE9F0 File Offset: 0x001FCBF0
|
||||
[Token(Token = "0x60099DD")]
|
||||
[Address(RVA = "0x18EB630", Offset = "0x18EA430", VA = "0x1818EB630")]
|
||||
public static int Decode(string data, Stream outStr)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060099DE RID: 39390 RVA: 0x001FEA04 File Offset: 0x001FCC04
|
||||
[Token(Token = "0x60099DE")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public UrlBase64()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060099DF RID: 39391 RVA: 0x001FEA18 File Offset: 0x001FCC18
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60099DF")]
|
||||
[Address(RVA = "0x18EB8C0", Offset = "0x18EA6C0", VA = "0x1818EB8C0")]
|
||||
static UrlBase64()
|
||||
{
|
||||
byte[] array = new byte[64];
|
||||
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.0953DF544832295E4A5B19928F95C351F25DA86A).FieldHandle);
|
||||
UrlBase64Encoder urlBase64Encoder;
|
||||
urlBase64Encoder.encodingTable = array;
|
||||
urlBase64Encoder.padding = (byte)((ulong)61L);
|
||||
byte[] array2 = new byte[128];
|
||||
urlBase64Encoder.decodingTable = array2;
|
||||
urlBase64Encoder.InitialiseDecodingTable();
|
||||
int length = urlBase64Encoder.encodingTable.Length;
|
||||
urlBase64Encoder.decodingTable = (ulong)45L;
|
||||
int num = urlBase64Encoder.encodingTable.Length - 1;
|
||||
urlBase64Encoder.padding = (byte)((ulong)46L);
|
||||
urlBase64Encoder.InitialiseDecodingTable();
|
||||
}
|
||||
|
||||
// Token: 0x0400688D RID: 26765
|
||||
[Token(Token = "0x400688D")]
|
||||
private static readonly IEncoder encoder;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user