public class StreamMaterializer extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
materialize(InputStream input_stream)
Bring the entire contents of the provided stream into a memory-resident byte array.
|
public static final byte[] materialize(InputStream input_stream) throws IOException
input_stream
- -IOException
- -IOException
- thrown by the input stream.Copyright © 2017. All rights reserved.