public bool MoveNext() { if (m_index + 1 >= m_files.Length) { return(false); } m_index++; while (m_index < m_files.Length && IsValidBase64Hash(m_files[m_index].Key, m_hashsize)) { m_index++; } m_current = new IndexBlocklist(m_compression, m_files[m_index].Key, m_files[m_index].Value, m_hashsize); return(true); }
public void Reset() { m_files = m_compression.ListFilesWithSize(INDEX_BLOCKLIST_FOLDER).ToArray(); m_index = -1; m_current = null; }