Example #1
0
        private void Skip(int count)
        {
            System.Diagnostics.Debug.Assert(count > 0);

            while (count > 0)
            {
                EnsureOutputData();

                var skipped = mDecoder.SkipOutputData(count);
                System.Diagnostics.Debug.Assert(0 < skipped && skipped <= count);
                count     -= skipped;
                mPosition += skipped;
            }
        }