skip() private method

private skip ( long par0 ) : long
par0 long
return long
Exemplo n.º 1
0
        public int skipBytes(int n)
        {
            int total = 0;
            int cur   = 0;

            while ((total < n) && ((cur = (int)@in.skip(n - total)) > 0))
            {
                total += cur;
            }
            return(total);
        }