/** * skip n bytes in the input stream. */ protected void skipFully(int n) throws IOException { while (n > 0) { int c = (int) skip(n); if (c <= 0) throw new EOFException();//(Messages.getMessage("unexpectedEOF00")); n -= c; } }
/** * skip n bytes in the input stream. */ protected void skipFully(int n) throws IOException { while (n > 0) { int c = (int) skip(n); if (c <= 0) throw new EOFException();//(Messages.getMessage("unexpectedEOF00")); n -= c; } }