com.sun.xml.ws.transport.tcp.io
Class DataInOutUtils
java.lang.Object
com.sun.xml.ws.transport.tcp.io.DataInOutUtils
public final class DataInOutUtils
- extends java.lang.Object
Method Summary |
static void |
readFully(java.io.InputStream inputStream,
byte[] buffer)
|
static void |
readFully(java.io.InputStream inputStream,
byte[] buffer,
int offset,
int length)
|
static int |
readInt4(java.nio.ByteBuffer buffer)
|
static int |
readInt4(java.io.InputStream is)
|
static int |
readInt8(java.nio.ByteBuffer buffer)
|
static int |
readInt8(java.io.InputStream is)
|
static void |
readInts4(java.nio.ByteBuffer buffer,
int[] array,
int count)
|
static int |
readInts4(java.nio.ByteBuffer buffer,
int[] array,
int count,
int lowValue)
|
static void |
readInts4(java.io.InputStream is,
int[] array,
int count)
|
static int |
readInts4(java.io.InputStream is,
int[] array,
int count,
int lowValue)
|
static int |
writeInt4(java.nio.ByteBuffer bb,
int value,
int highValue,
boolean flush)
|
static void |
writeInt4(java.io.OutputStream os,
int value)
|
static int |
writeInt4(java.io.OutputStream out,
int value,
int highValue,
boolean flush)
|
static void |
writeInt8(java.nio.ByteBuffer bb,
int value)
|
static void |
writeInt8(java.io.OutputStream os,
int value)
|
static void |
writeInts4(java.nio.ByteBuffer bb,
int... values)
|
static void |
writeInts4(java.nio.ByteBuffer bb,
int[] array,
int offset,
int count)
|
static void |
writeInts4(java.io.OutputStream out,
int... values)
|
static void |
writeInts4(java.io.OutputStream out,
int[] array,
int offset,
int count)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataInOutUtils
public DataInOutUtils()
readInt4
public static int readInt4(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
readInts4
public static void readInts4(java.io.InputStream is,
int[] array,
int count)
throws java.io.IOException
- Throws:
java.io.IOException
readInts4
public static int readInts4(java.io.InputStream is,
int[] array,
int count,
int lowValue)
throws java.io.IOException
- Throws:
java.io.IOException
readInts4
public static void readInts4(java.nio.ByteBuffer buffer,
int[] array,
int count)
throws java.io.IOException
- Throws:
java.io.IOException
readInts4
public static int readInts4(java.nio.ByteBuffer buffer,
int[] array,
int count,
int lowValue)
throws java.io.IOException
- Throws:
java.io.IOException
writeInt4
public static void writeInt4(java.io.OutputStream os,
int value)
throws java.io.IOException
- Throws:
java.io.IOException
readInt8
public static int readInt8(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
writeInt8
public static void writeInt8(java.io.OutputStream os,
int value)
throws java.io.IOException
- Throws:
java.io.IOException
writeInt8
public static void writeInt8(java.nio.ByteBuffer bb,
int value)
throws java.io.IOException
- Throws:
java.io.IOException
readInt4
public static int readInt4(java.nio.ByteBuffer buffer)
throws java.io.IOException
- Throws:
java.io.IOException
writeInts4
public static void writeInts4(java.nio.ByteBuffer bb,
int... values)
throws java.io.IOException
- Throws:
java.io.IOException
writeInts4
public static void writeInts4(java.nio.ByteBuffer bb,
int[] array,
int offset,
int count)
throws java.io.IOException
- Throws:
java.io.IOException
writeInts4
public static void writeInts4(java.io.OutputStream out,
int... values)
throws java.io.IOException
- Throws:
java.io.IOException
writeInts4
public static void writeInts4(java.io.OutputStream out,
int[] array,
int offset,
int count)
throws java.io.IOException
- Throws:
java.io.IOException
writeInt4
public static int writeInt4(java.io.OutputStream out,
int value,
int highValue,
boolean flush)
throws java.io.IOException
- Throws:
java.io.IOException
writeInt4
public static int writeInt4(java.nio.ByteBuffer bb,
int value,
int highValue,
boolean flush)
throws java.io.IOException
- Throws:
java.io.IOException
readInt8
public static int readInt8(java.nio.ByteBuffer buffer)
throws java.io.IOException
- Throws:
java.io.IOException
readFully
public static void readFully(java.io.InputStream inputStream,
byte[] buffer)
throws java.io.IOException
- Throws:
java.io.IOException
readFully
public static void readFully(java.io.InputStream inputStream,
byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException