|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.binding.soap.tcp.DataCodingUtils
public final class DataCodingUtils
DataCodingUtils is a utility class for reading and writing integers in SOAP over TCP protocol.
Method Summary | |
---|---|
static int |
readInt8(InputStream inputStream)
Method for reading single INTEGER8 value |
static void |
readInts4(InputStream inputStream,
int[] array,
int count)
Method for reading INTEGER4 values from InputStream |
static void |
writeInt8(OutputStream outputStream,
int intValue)
Method for writing single INTEGER4 value into OutputStream |
static void |
writeInts4(OutputStream outputStream,
int... values)
Method for writing variable number of integer values as INTEGER4 values |
static void |
writeInts4(OutputStream outputStream,
int[] array,
int offset,
int count)
Method for writing integers as INTEGER4 values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void readInts4(InputStream inputStream, int[] array, int count) throws IOException
inputStream
- a source streamarray
- a buffer for read datacount
- a number of integers to be read
IOException
public static int readInt8(InputStream inputStream) throws IOException
inputStream
- a source stream
IOException
public static void writeInt8(OutputStream outputStream, int intValue) throws IOException
outputStream
- a target streamintValue
- value that will be written
IOException
public static void writeInts4(OutputStream outputStream, int... values) throws IOException
outputStream
- a target streamvalues
- a variable length list of integer values that will be written
IOException
public static void writeInts4(OutputStream outputStream, int[] array, int offset, int count) throws IOException
outputStream
- a target streamarray
- values that will be writtenoffset
- an offset in array from method starts writingcount
- a number of integers to be written
IOException
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |