/guava/android/guava/src/com/google/common/io/ByteSource.java
? ByteStreams.toByteArray( in.get( ) ) : ByteStreams.toByteArray( in) ;
? ByteStreams.toByteArray ( in, size.get ( ) ) : ByteStreams.toByteArray ( in ) ;
public byte[] read() throws IOException { Closer closer = Closer.create(); try { InputStream in = closer.register(openStream()); Optional<Long> size = sizeIfKnown(); return size.isPresent() <extra_id_0> } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } }