< prev index next >

src/java.base/share/classes/com/sun/java/util/jar/pack/CodingChooser.java

Print this page

        

*** 1156,1166 **** private int count; public void write(int b) throws IOException { count++; if (out != null) out.write(b); } ! public void write(byte b[], int off, int len) throws IOException { count += len; if (out != null) out.write(b, off, len); } public void reset() { count = 0; --- 1156,1166 ---- private int count; public void write(int b) throws IOException { count++; if (out != null) out.write(b); } ! public void write(byte[] b, int off, int len) throws IOException { count += len; if (out != null) out.write(b, off, len); } public void reset() { count = 0;
< prev index next >