/guava/android/guava/src/com/google/common/io/ByteStreams.java
return toByteArrayInternal( bufs, in, bytes.length + 1) ;
return toByteArrayInternal ( in, bufs, bytes.length + 1 ) ;
if (b == -1) { return bytes; } Queue<byte[]> bufs = new ArrayDeque<>(TO_BYTE_ARRAY_DEQUE_SIZE + 2); bufs.add(bytes); bufs.add(new byte[] {(byte) b}); <extra_id_0> } @CanIgnoreReturnValue public static long exhaust(InputStream in) throws IOException { long total = 0; long read; byte[] buf = createBuffer();