com.develop.jawin.marshal
Class StructConverter
java.lang.Object
com.develop.jawin.marshal.StructConverter
- public class StructConverter
- extends java.lang.Object
Method Summary |
static int |
BEBytesIntoInt(byte[] bytes,
int offset)
|
static int |
byteArrayIntoBytes(byte[] src,
byte[] dest,
int start)
|
static boolean |
bytesIntoBoolean(byte[] bytes,
int offset)
|
static double |
bytesIntoDouble(byte[] bytes,
int offset)
|
static int |
bytesIntoInt(byte[] bytes,
int offset)
|
static long |
bytesIntoLong(byte[] bytes,
int offset)
|
static short |
bytesIntoShort(byte[] bytes,
int offset)
|
static int |
intIntoBytes(int data,
byte[] bytes,
int start)
|
static int |
longIntoBEBytes(long data,
byte[] bytes,
int start)
|
static int |
longIntoBytes(long data,
byte[] bytes,
int start)
|
static int |
parseInt(java.lang.String val)
|
static long |
parseLong(java.lang.String val)
|
static short |
parseShort(java.lang.String val)
|
static int[] |
readIntArray(LittleEndianInputStream leis)
|
static java.lang.Object[] |
readObjectArray(LittleEndianInputStream leis,
GUID iid)
|
static java.lang.String[] |
readStringArray(LittleEndianInputStream leis)
|
static int |
shortIntoBytes(short data,
byte[] bytes,
int start)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructConverter
public StructConverter()
parseLong
public static long parseLong(java.lang.String val)
parseInt
public static int parseInt(java.lang.String val)
parseShort
public static short parseShort(java.lang.String val)
longIntoBEBytes
public static int longIntoBEBytes(long data,
byte[] bytes,
int start)
bytesIntoLong
public static long bytesIntoLong(byte[] bytes,
int offset)
bytesIntoDouble
public static double bytesIntoDouble(byte[] bytes,
int offset)
bytesIntoBoolean
public static boolean bytesIntoBoolean(byte[] bytes,
int offset)
bytesIntoInt
public static int bytesIntoInt(byte[] bytes,
int offset)
BEBytesIntoInt
public static int BEBytesIntoInt(byte[] bytes,
int offset)
bytesIntoShort
public static short bytesIntoShort(byte[] bytes,
int offset)
longIntoBytes
public static int longIntoBytes(long data,
byte[] bytes,
int start)
intIntoBytes
public static int intIntoBytes(int data,
byte[] bytes,
int start)
shortIntoBytes
public static int shortIntoBytes(short data,
byte[] bytes,
int start)
byteArrayIntoBytes
public static int byteArrayIntoBytes(byte[] src,
byte[] dest,
int start)
readStringArray
public static java.lang.String[] readStringArray(LittleEndianInputStream leis)
throws java.io.IOException
- Throws:
java.io.IOException
readIntArray
public static int[] readIntArray(LittleEndianInputStream leis)
throws java.io.IOException
- Throws:
java.io.IOException
readObjectArray
public static java.lang.Object[] readObjectArray(LittleEndianInputStream leis,
GUID iid)
throws java.io.IOException,
COMException
- Throws:
java.io.IOException
COMException
Composia Soft Ltd. Designed by Vitally Shelest. .