示例#1
0
文件: Decoder.java 项目: JSlain/bnd
 int read() throws Exception {
   current = reader.read();
   if (digest != null) {
     digest.update((byte) (current / 256));
     digest.update((byte) (current % 256));
   }
   return current;
 }
示例#2
0
文件: Decoder.java 项目: JSlain/bnd
 public void close() throws IOException {
   reader.close();
 }