Esempio n. 1
0
        public void AppendSliver(Time <TTime> absoluteTime, TValue[] source, int startOffset, int width, int stride, int height)
        {
            HoloDebug.Assert(!IsShut);

            if (_times.Count > 0 && _times[_times.Count - 1] == absoluteTime)
            {
                // BUGBUG? Is this a sign of major slowdown?
                return;
            }

            HoloDebug.Assert(TimeIsAfterLast(absoluteTime));

            _innerStream.AppendSliver(source, startOffset, width, stride, height);
            _times.Add(absoluteTime);

            Trim();
        }