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
IllegalArgumentException - if in == nullIOException