code: public void removeAll()
      {
          if (m_aRecords != null)
          {
              for (int iArrayIndex = 0; iArrayIndex < MAX_RECORD_ARRAY_SIZE; iArrayIndex++)
              {   // Free the objects that are no longer used
                  this.freeElement(m_aRecords[iArrayIndex]);
                  m_aRecords[iArrayIndex] = null;
              }
              m_aRecords = null;
          }
          m_iRecordListStep = 1;
          m_iRecordListEnd = 0;
          m_iRecordListMax = 0; // Current size of the record list (records scanned) (-1 - unknown)
      }
docs: Clear out the two buffers.