Beispiel #1
0
        // Token: 0x060001E3 RID: 483 RVA: 0x00007188 File Offset: 0x00005388
        private static object readBinary(byte[] data)
        {
            Plist.offsetTable.Clear();
            List <byte> offsetTableBytes = new List <byte>();

            Plist.objectTable.Clear();
            Plist.refCount          = 0;
            Plist.objRefSize        = 0;
            Plist.offsetByteSize    = 0;
            Plist.offsetTableOffset = 0L;
            List <byte> list = new List <byte>(data);

            checked
            {
                List <byte> range = list.GetRange(list.Count - 32, 32);
                Plist.parseTrailer(range);
                Plist.objectTable = list.GetRange(0, (int)Plist.offsetTableOffset);
                offsetTableBytes  = list.GetRange((int)Plist.offsetTableOffset, list.Count - (int)Plist.offsetTableOffset - 32);
                Plist.parseOffsetTable(offsetTableBytes);
                return(Plist.parseBinary(0));
            }
        }