예제 #1
0
        public static TimeSpan[] ReadTimeSpanArray(this ObjectReader reader)
        {
            var length = reader.ReadInt32();

            TimeSpan[] value = new TimeSpan[length];
            for (int i = 0; i < length; i++)
            {
                value[i] = reader.ReadTimeSpan();
            }
            return(value);
        }