using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SuperSocket.Common { class ArraySegmentEx { public ArraySegmentEx(T[] array, int offset, int count) { Array = array; Offset = offset; Count = count; } /// /// Gets the array. /// public T[] Array { get; private set; } /// /// Gets the count. /// public int Count { get; private set; } /// /// Gets the offset. /// public int Offset { get; private set; } public int From { get; set; } public int To { get; set; } } }