Generated by
JDiff

Class com.google.common.io.ByteStreams

Removed Methods
ByteSource asByteSource(byte[]) Returns a new ByteSource that reads bytes from the given byte array.
 

Changed Methods
ByteSink asByteSink(OutputSupplier<? extends OutputStream>) Now deprecated.
Convert all {@code OutputSupplier
boolean equal(InputSupplier<?, extends, InputStream>, InputSupplier<?, extends, InputStream>) Now deprecated.
Use {@link ByteSource#contentEquals(ByteSource)} instead.
HashCode hash(InputSupplier<?, extends, InputStream>, HashFunction) Now deprecated.
Use {@link ByteSource#hash(HashFunction)} instead.
long length(InputSupplier<? extends InputStream>) Now deprecated.
Use {@link ByteSource#size()} instead.
InputSupplier<InputStream> slice(InputSupplier<?, extends, InputStream>, long, long) Now deprecated.
Use {@link ByteSource#slice(int, int)} instead.
void write(byte[], OutputSupplier<?, extends, OutputStream>) Now deprecated.
Use {@link ByteSink#write(byte[])} instead.
ByteSource asByteSource(InputSupplier<? extends InputStream>) Now deprecated.
Convert all {@code InputSupplier
long copy(InputSupplier<?, extends, InputStream>, OutputSupplier<?, extends, OutputStream>) Now deprecated.
Use {@link ByteSource#copyTo(ByteSink)} instead.
long copy(InputSupplier<?, extends, InputStream>, OutputStream) Now deprecated.
Use {@link ByteSource#copyTo(OutputStream)} instead.
long copy(InputStream, OutputSupplier<?, extends, OutputStream>) Now deprecated.
Use {@link ByteSink#writeFrom(InputStream)} instead.
InputSupplier<InputStream> join(InputSupplier[]) Now deprecated.
Use {@link ByteSource#concat(ByteSource[])} instead.
InputSupplier<InputStream> join(Iterable<? extends InputSupplier<? extends InputStream>>) Now deprecated.
Use {@link ByteSource#concat(Iterable)} instead.
InputSupplier<ByteArrayInputStream> newInputStreamSupplier(byte[]) Now deprecated.
Use {@link ByteSource#wrap(byte[])} instead.
InputSupplier<ByteArrayInputStream> newInputStreamSupplier(byte[], int, int) Now deprecated.
Use {@code ByteSource.wrap(b).slice(off, len)} instead.
T readBytes(InputSupplier<?, extends, InputStream>, ByteProcessor<T>) Now deprecated.
Use {@link ByteSource#read(ByteProcessor)} instead.
byte[] toByteArray(InputSupplier<? extends InputStream>) Now deprecated.
Use {@link ByteSource#read()} instead.