public class StreamUtils extends Object
| 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 © 2018. All rights reserved.