Code example for DataInput

Methods: skipBytes

0
        return i;
    } 
 
    public int skipBytes(int n) throws IOException
    { 
        int skipped = source.skipBytes(n);
        bytesRead += skipped;
        return skipped;
    } 
}