public void Load(byte[] bytes) { m_list = new Dictionary <int, IconInfo>(); BinaryHelper helper = new BinaryHelper(bytes); int length = helper.ReadInt(); for (int index = 0; index < length; ++index) { IconInfo info = new IconInfo(); info.Load(helper); m_list.Add(info.ID, info); } }