67 lines
1.8 KiB
C#
67 lines
1.8 KiB
C#
using System;
|
|
using System.IO;
|
|
using System.Text;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.Decompression.Zlib
|
|
{
|
|
// Token: 0x02002094 RID: 8340
|
|
[Token(Token = "0x2002094")]
|
|
internal class SharedUtils
|
|
{
|
|
// Token: 0x0600D182 RID: 53634 RVA: 0x002FD118 File Offset: 0x002FB318
|
|
[Token(Token = "0x600D182")]
|
|
[Address(RVA = "0x10B1650", Offset = "0x10B0650", VA = "0x1810B1650")]
|
|
public static int URShift(int number, int bits)
|
|
{
|
|
return number;
|
|
}
|
|
|
|
// Token: 0x0600D183 RID: 53635 RVA: 0x002FD128 File Offset: 0x002FB328
|
|
[Token(Token = "0x600D183")]
|
|
[Address(RVA = "0x241BFF0", Offset = "0x241AFF0", VA = "0x18241BFF0")]
|
|
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
|
|
{
|
|
int length = target.Length;
|
|
if (length != 0)
|
|
{
|
|
char[] array = new char[length];
|
|
if (sourceTextReader.Read() != 0)
|
|
{
|
|
if (start < array)
|
|
{
|
|
char c = array[start];
|
|
}
|
|
return start;
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600D184 RID: 53636 RVA: 0x002FD164 File Offset: 0x002FB364
|
|
[Token(Token = "0x600D184")]
|
|
[Address(RVA = "0x4F19E0", Offset = "0x4F09E0", VA = "0x1804F19E0")]
|
|
internal static byte[] ToByteArray(string sourceString)
|
|
{
|
|
Encoding utf = Encoding.UTF8;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600D185 RID: 53637 RVA: 0x002FD180 File Offset: 0x002FB380
|
|
[Token(Token = "0x600D185")]
|
|
[Address(RVA = "0x241C100", Offset = "0x241B100", VA = "0x18241C100")]
|
|
internal static char[] ToCharArray(byte[] byteArray)
|
|
{
|
|
Encoding utf = Encoding.UTF8;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600D186 RID: 53638 RVA: 0x002FD19C File Offset: 0x002FB39C
|
|
[Token(Token = "0x600D186")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public SharedUtils()
|
|
{
|
|
}
|
|
}
|
|
}
|