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
IOException
public static void copy(InputStream in, OutputStream to) throws IOException
IOException
Copyright © 2020. All rights reserved.