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; } }
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; } }