public class StreamUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
read(java.io.InputStream source)
Reads content from the stream.
|
public static byte[] read(java.io.InputStream source) throws java.io.IOException
source
- the input stream.java.io.IOException
- if there is some error during read
operation.java.lang.IllegalArgumentException
- if source is null.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.