/// <summary> /// Copies the given buffer into a destination array. /// </summary> static public void CopyTo <T>(this IRingBuffer <T> inBuffer, int inIndex, T[] ioDest) { inBuffer.CopyTo(inIndex, ioDest, 0, inBuffer.Count - inIndex); }
/// <summary> /// Copies the given buffer into a destination array. /// </summary> static public void CopyTo <T>(this IRingBuffer <T> inBuffer, T[] ioDest) { inBuffer.CopyTo(0, ioDest, 0, inBuffer.Count); }