Package org.apache.vinci.transport.util
Class StreamMaterializer
java.lang.Object
org.apache.vinci.transport.util.StreamMaterializer
Simple static adapter method for converting stream into byte[]
-
Method Summary
Modifier and TypeMethodDescriptionstatic final byte[]materialize(InputStream input_stream) Bring the entire contents of the provided stream into a memory-resident byte array.
-
Method Details
-
materialize
Bring the entire contents of the provided stream into a memory-resident byte array. Does NOT close the stream.- Parameters:
input_stream- -- Returns:
- -
- Throws:
IOException- -IOException- thrown by the input stream.
-