/// <summary> /// compress, move data from the head to the index 0. /// </summary> public void Compress() { if (m_Head == 0) { return; } CArray.Reverse(m_Array, 0, m_Head); CArray.Reverse(m_Array, m_Head, m_Array.Length - m_Head); CArray.Reverse(m_Array, 0, m_Array.Length); m_Head = 0; }
public void Reverse(int aIndex, int aCount) { CArray.Reverse(m_Array, aIndex, aCount); }
public void Reverse() { CArray.Reverse(m_Array, 0, m_Count); }