Package com.sun.xml.ws.transport.tcp.io
Class DataInOutUtils
java.lang.Object
com.sun.xml.ws.transport.tcp.io.DataInOutUtils
- Author:
- Alexey Stashok
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidreadFully(InputStream inputStream, byte[] buffer) static voidreadFully(InputStream inputStream, byte[] buffer, int offset, int length) static intreadInt4(InputStream is) static intreadInt4(ByteBuffer buffer) static intreadInt8(InputStream is) static intreadInt8(ByteBuffer buffer) static voidreadInts4(InputStream is, int[] array, int count) static intreadInts4(InputStream is, int[] array, int count, int lowValue) static voidreadInts4(ByteBuffer buffer, int[] array, int count) static intreadInts4(ByteBuffer buffer, int[] array, int count, int lowValue) static voidwriteInt4(OutputStream os, int value) static intwriteInt4(OutputStream out, int value, int highValue, boolean flush) static intwriteInt4(ByteBuffer bb, int value, int highValue, boolean flush) static voidwriteInt8(OutputStream os, int value) static voidwriteInt8(ByteBuffer bb, int value) static voidwriteInts4(OutputStream out, int... values) static voidwriteInts4(OutputStream out, int[] array, int offset, int count) static voidwriteInts4(ByteBuffer bb, int... values) static voidwriteInts4(ByteBuffer bb, int[] array, int offset, int count)
-
Constructor Details
-
DataInOutUtils
public DataInOutUtils()
-
-
Method Details
-
readInt4
- Throws:
IOException
-
readInts4
- Throws:
IOException
-
readInts4
public static int readInts4(InputStream is, int[] array, int count, int lowValue) throws IOException - Throws:
IOException
-
readInts4
- Throws:
IOException
-
readInts4
public static int readInts4(ByteBuffer buffer, int[] array, int count, int lowValue) throws IOException - Throws:
IOException
-
writeInt4
- Throws:
IOException
-
readInt8
- Throws:
IOException
-
writeInt8
- Throws:
IOException
-
writeInt8
- Throws:
IOException
-
readInt4
- Throws:
IOException
-
writeInts4
- Throws:
IOException
-
writeInts4
- Throws:
IOException
-
writeInts4
- Throws:
IOException
-
writeInts4
public static void writeInts4(OutputStream out, int[] array, int offset, int count) throws IOException - Throws:
IOException
-
writeInt4
public static int writeInt4(OutputStream out, int value, int highValue, boolean flush) throws IOException - Throws:
IOException
-
writeInt4
public static int writeInt4(ByteBuffer bb, int value, int highValue, boolean flush) throws IOException - Throws:
IOException
-
readInt8
- Throws:
IOException
-
readFully
- Throws:
IOException
-
readFully
public static void readFully(InputStream inputStream, byte[] buffer, int offset, int length) throws IOException - Throws:
IOException
-