public class StreamUtils extends Object
| Constructor and Description |
|---|
StreamUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
read(InputStream input,
byte[] buffer) |
static byte[] |
toByteArray(InputStream input) |
public static int read(InputStream input, byte[] buffer) throws IOException
IOExceptionpublic static byte[] toByteArray(InputStream input) throws IOException
IOExceptionCopyright © 2016. All rights reserved.