public final class InputStreams
extends java.lang.Object
InputStream
s.Modifier and Type | Method | Description |
---|---|---|
static byte[] |
readFully(java.io.InputStream is) |
Reads all bytes from an input stream into a byte array.
|
public static byte[] readFully(java.io.InputStream is) throws java.io.IOException
InputStream
is not closed by this method.is
- the input stream to read fromjava.io.IOException
- if an I/O error occursCopyright © 2018. All rights reserved.