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 Object
- Author:
- Alexey Stashok
|
Method Summary |
static void |
readFully(InputStream inputStream,
byte[] buffer)
|
static void |
readFully(InputStream inputStream,
byte[] buffer,
int offset,
int length)
|
static int |
readInt4(ByteBuffer buffer)
|
static int |
readInt4(InputStream is)
|
static int |
readInt8(ByteBuffer buffer)
|
static int |
readInt8(InputStream is)
|
static void |
readInts4(ByteBuffer buffer,
int[] array,
int count)
|
static int |
readInts4(ByteBuffer buffer,
int[] array,
int count,
int lowValue)
|
static void |
readInts4(InputStream is,
int[] array,
int count)
|
static int |
readInts4(InputStream is,
int[] array,
int count,
int lowValue)
|
static int |
writeInt4(ByteBuffer bb,
int value,
int highValue,
boolean flush)
|
static void |
writeInt4(OutputStream os,
int value)
|
static int |
writeInt4(OutputStream out,
int value,
int highValue,
boolean flush)
|
static void |
writeInt8(ByteBuffer bb,
int value)
|
static void |
writeInt8(OutputStream os,
int value)
|
static void |
writeInts4(ByteBuffer bb,
int... values)
|
static void |
writeInts4(ByteBuffer bb,
int[] array,
int offset,
int count)
|
static void |
writeInts4(OutputStream out,
int... values)
|
static void |
writeInts4(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(InputStream is)
throws IOException
- Throws:
IOException
readInts4
public static void readInts4(InputStream is,
int[] array,
int count)
throws IOException
- Throws:
IOException
readInts4
public static int readInts4(InputStream is,
int[] array,
int count,
int lowValue)
throws IOException
- Throws:
IOException
readInts4
public static void readInts4(ByteBuffer buffer,
int[] array,
int count)
throws IOException
- Throws:
IOException
readInts4
public static int readInts4(ByteBuffer buffer,
int[] array,
int count,
int lowValue)
throws IOException
- Throws:
IOException
writeInt4
public static void writeInt4(OutputStream os,
int value)
throws IOException
- Throws:
IOException
readInt8
public static int readInt8(InputStream is)
throws IOException
- Throws:
IOException
writeInt8
public static void writeInt8(OutputStream os,
int value)
throws IOException
- Throws:
IOException
writeInt8
public static void writeInt8(ByteBuffer bb,
int value)
throws IOException
- Throws:
IOException
readInt4
public static int readInt4(ByteBuffer buffer)
throws IOException
- Throws:
IOException
writeInts4
public static void writeInts4(ByteBuffer bb,
int... values)
throws IOException
- Throws:
IOException
writeInts4
public static void writeInts4(ByteBuffer bb,
int[] array,
int offset,
int count)
throws IOException
- Throws:
IOException
writeInts4
public static void writeInts4(OutputStream out,
int... values)
throws IOException
- 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
public static int readInt8(ByteBuffer buffer)
throws IOException
- Throws:
IOException
readFully
public static void readFully(InputStream inputStream,
byte[] buffer)
throws IOException
- Throws:
IOException
readFully
public static void readFully(InputStream inputStream,
byte[] buffer,
int offset,
int length)
throws IOException
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.