示例#1
0
        public void Load(byte[] pbXspFile)
        {
            XspArchive a = new XspArchive();

            a.Load(pbXspFile);

            foreach (KeyValuePair <string, byte[]> kvp in a.Items)
            {
                string           str = GetID(kvp.Key);
                ImageArchiveItem it  = new ImageArchiveItem(kvp.Key, kvp.Value);

                Debug.Assert(!m_dItems.ContainsKey(str));
                m_dItems[str] = it;
            }
        }
示例#2
0
        public void Load(byte[] pbXspFile)
        {
            XspArchive a = new XspArchive();
            a.Load(pbXspFile);

            foreach(KeyValuePair<string, byte[]> kvp in a.Items)
            {
                string str = GetID(kvp.Key);
                ImageArchiveItem it = new ImageArchiveItem(kvp.Key, kvp.Value);

                Debug.Assert(!m_dItems.ContainsKey(str));
                m_dItems[str] = it;
            }
        }