Beispiel #1
0
 // Token: 0x06000148 RID: 328 RVA: 0x00008D60 File Offset: 0x00006F60
 private byte[] BuildPacket(byte[] payload)
 {
     payload = SafeQuickLZ.Compress(payload, 3);
     payload = GClass18.smethod_3(payload);
     byte[] array = new byte[payload.Length + this.HEADER_SIZE];
     Array.Copy(BitConverter.GetBytes(payload.Length), array, this.HEADER_SIZE);
     Array.Copy(payload, 0, array, this.HEADER_SIZE, payload.Length);
     return(array);
 }
Beispiel #2
0
 // Token: 0x060001A3 RID: 419 RVA: 0x00002C68 File Offset: 0x00000E68
 public static string smethod_2(string input)
 {
     return(Convert.ToBase64String(GClass18.smethod_3(Encoding.UTF8.GetBytes(input))));
 }