@Override public int read() throws IOException { byte[] tmp = new byte[1]; int count = read(tmp); if (count != -1) { return tmp[0]; } else { return count; } }
this.is = new RepeatableInputStream(is, bufferSize);
this.is = new RepeatableInputStream(is, bufferSize);
@Override public int read() throws IOException { byte[] tmp = new byte[1]; int count = read(tmp); if (count != -1) { return tmp[0]; } else { return count; } }