public final class IOUtil extends Object
Modifier and Type | Method | Description |
---|---|---|
static byte[] |
readFully(InputStream is) |
Reads the given
InputStream and returns it as byte[]. |
public static byte[] readFully(InputStream is) throws IOException
InputStream
and returns it as byte[].is
- The InputStream from which is read.IOException
- If the InputStream cannot be read.Copyright © 2018. All rights reserved.