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