public class Streams extends Object
Constructor and Description |
---|
Streams() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
inputStream2ByteArray(InputStream in) |
public static byte[] inputStream2ByteArray(InputStream in) throws IllegalArgumentException, IOException
in
- IllegalArgumentException
- if in == nullIOException