public class NetworkIOUtil extends Object
| Constructor and Description |
|---|
NetworkIOUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
readDataSafely(InputStream istr,
byte[] buf,
int off,
int len) |
static int |
skipDataSafely(InputStream istr,
int bytes) |
public static int readDataSafely(InputStream istr, byte[] buf, int off, int len) throws IOException
IOExceptionpublic static int skipDataSafely(InputStream istr, int bytes) throws IOException
IOExceptionCopyright 2004-2021 Solace Corporation. All rights reserved.