public final class ByteStreams extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(InputStream in,
OutputStream to) |
static byte[] |
toByteArray(InputStream in) |
public static byte[] toByteArray(InputStream in) throws IOException
IOExceptionpublic static void copy(InputStream in, OutputStream to) throws IOException
IOExceptionCopyright © 2019. All rights reserved.