Пример #1
0
        // Token: 0x06013ECC RID: 81612 RVA: 0x00512D40 File Offset: 0x00510F40
        public static byte[] Decompress(byte[] inputBytes)
        {
            int num = inputBytes.Length * 2;

            byte[] src = new byte[num];
            int    num2;

            for (num2 = CLZF.lzf_decompress(inputBytes, ref src); num2 == 0; num2 = CLZF.lzf_decompress(inputBytes, ref src))
            {
                num *= 2;
                src  = new byte[num];
            }
            byte[] array = new byte[num2];
            Buffer.BlockCopy(src, 0, array, 0, num2);
            return(array);
        }
Пример #2
0
 // Token: 0x06013ED4 RID: 81620 RVA: 0x00513380 File Offset: 0x00511580
 public LuaExportHelper(CLZF owner)
 {
     this.m_owner = owner;
 }