/guava/android/guava/src/com/google/common/io/ByteSource.java
OutputStream out = closer.register( sink.openStream( ) ) ;InputStream in2 = closer.register( other.openStream( ) ) ;
InputStream in2 = closer.register ( other.openStream ( ) ) ;
checkNotNull(other); byte[] buf1 = createBuffer(); byte[] buf2 = createBuffer(); Closer closer = Closer.create(); try { InputStream in1 = closer.register(openStream()); <extra_id_0> while (true) { int read1 = ByteStreams.read(in1, buf1, 0, buf1.length); int read2 = ByteStreams.read(in2, buf2, 0, buf2.length); if (read1 != read2 || !Arrays.equals(buf1, buf2)) { return false; } else if (read1 != buf1.length) {