Beispiel #1
0
 int read() throws Exception {
   current = reader.read();
   if (digest != null) {
     digest.update((byte) (current / 256));
     digest.update((byte) (current % 256));
   }
   return current;
 }
Beispiel #2
0
 public void close() throws IOException {
   reader.close();
 }