org.apache.axis.utils
public class IOUtils extends Object
Method Summary | |
---|---|
static int | readFully(InputStream in, byte[] b)
Read into a byte array; tries to ensure that the the
full buffer is read.
|
static int | readFully(InputStream in, byte[] b, int off, int len)
Same as the normal in.read(b, off, len), but tries to ensure that
the entire len number of bytes is read.
|
See Also: (java.io.InputStream, byte[], int, int)
UNKNOWN: the number of bytes read, or -1 if the end of file is reached before any bytes are read