|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.util.xdo.common.io.LE
public class LE
Little endian handling class Use BE class for big endian.
Field Summary | |
---|---|
static java.lang.String |
RCS_ID
|
Constructor Summary | |
---|---|
LE()
|
Method Summary | |
---|---|
static void |
memset(int val,
byte[] b)
Fill specified byte array with specified value |
static void |
memset(int val,
byte[] b,
int start,
int end)
Fill the specified range of the buffer with a specified value |
static double |
readIEEEDouble(byte[] b,
int offset)
Read a 64bit IEEE floating point (double) number from a byte array. |
static int |
readInt16(byte[] b,
int offset)
Read a 16bit signed integer from a byte array. |
static int |
readInt16(java.io.RandomAccessFile raf)
Read a 16bit signed integer from RandomAccessFile. |
static int |
readInt32(byte[] b,
int offset)
Read a 32bit signed integer from a byte array. |
static int |
readInt32(java.io.RandomAccessFile raf)
Read a 32bit signed integer from RandomAccessFile. |
static long |
readInt64(byte[] b,
int offset)
Read a 64bit signed integer from a byte array. |
static long |
readInt64(java.io.RandomAccessFile raf)
Read a 32bit signed integer from RandomAccessFile. |
static int |
readInt8(byte[] b,
int offset)
Read an 8bit signed integer from a byte array. |
static int |
readInt8(java.io.RandomAccessFile raf)
Read an 8bit signed integer from RandomAccessFile. |
static int |
readUInt16(byte[] b,
int offset)
Read a 16bit unsigned integer from a byte array. |
static int |
readUInt16(java.io.RandomAccessFile raf)
Read a 16bit unsigned integer from RandomAccessFile. |
static long |
readUInt32(byte[] b,
int offset)
Read a 32bit unsigned integer from a byte array. |
static long |
readUInt32(java.io.RandomAccessFile raf)
Read a 32bit unsigned integer from RandomAccessFile. |
static int |
readUInt8(byte[] b,
int offset)
Read an 8bit unsigned integer from a byte array. |
static int |
readUInt8(java.io.RandomAccessFile raf)
Read an 8bit unsigned integer from RandomAccessFile. |
static byte[] |
StringToUTF16LE(java.lang.String str,
boolean zeroTerminate)
String to UTF-16LE binary data Similar to str.getBytes("UTF-16LE") |
static java.lang.String |
UTF16LEToString(byte[] data,
int offset)
UTF-16LE binary data (\0000 terminated) to String |
static java.lang.String |
UTF16LEToString(byte[] data,
int offset,
int len)
UTF-16LE binary data to String Same as: new String(data,offset,len*2,"UTF-16LE") |
static void |
writeIEEEDouble(double val,
byte[] b,
int offset)
Write a IEEE Double to byte array. |
static void |
writeInt16(int val,
byte[] b,
int offset)
Write a 16bit signed integer to byte array. |
static void |
writeInt16(int val,
java.io.RandomAccessFile raf)
Write a 16bit signed integer to RandomAccessFile. |
static void |
writeInt32(int val,
byte[] b,
int offset)
Write a 32bit signed integer to byte array. |
static void |
writeInt32(int val,
java.io.RandomAccessFile raf)
Write a 32bit signed integer to RandomAccessFile. |
static void |
writeInt64(long val,
byte[] b,
int offset)
Write a 64bit signed integer to byte array. |
static void |
writeInt8(int val,
byte[] b,
int offset)
Write a 8bit signed integer to byte array. |
static void |
writeInt8(int val,
java.io.RandomAccessFile raf)
Write a 8bit signed integer to RandomAccessFile. |
static void |
writeUInt16(int val,
byte[] b,
int offset)
Write a 16bit unsigned integer to byte array. |
static void |
writeUInt16(int val,
java.io.RandomAccessFile raf)
Write a 16bit unsigned integer to RandomAccessFile. |
static void |
writeUInt32(long val,
byte[] b,
int offset)
Write a 32bit unsigned integer to byte array. |
static void |
writeUInt32(long val,
java.io.RandomAccessFile raf)
Write a 32bit unsigned integer to RandomAccessFile. |
static void |
writeUInt64(long val,
byte[] b,
int offset)
Write a 64bit unsigned integer to byte array. |
static void |
writeUInt8(int val,
byte[] b,
int offset)
Write a 8bit unsigned integer to byte array. |
static void |
writeUInt8(int val,
java.io.RandomAccessFile raf)
Write a 8bit unsigned integer to RandomAccessFile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RCS_ID
Constructor Detail |
---|
public LE()
Method Detail |
---|
public static int readInt8(byte[] b, int offset)
public static int readUInt8(byte[] b, int offset)
public static int readInt8(java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static int readUInt8(java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static int readInt16(byte[] b, int offset)
public static int readUInt16(byte[] b, int offset)
public static int readInt16(java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static int readUInt16(java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static int readInt32(byte[] b, int offset)
public static long readUInt32(byte[] b, int offset)
public static int readInt32(java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static long readUInt32(java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static long readInt64(byte[] b, int offset)
public static long readInt64(java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static double readIEEEDouble(byte[] b, int offset)
public static void memset(int val, byte[] b, int start, int end)
end
- inclusivepublic static void memset(int val, byte[] b)
public static void writeInt8(int val, byte[] b, int offset)
public static void writeUInt8(int val, byte[] b, int offset)
public static void writeInt8(int val, java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static void writeUInt8(int val, java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static void writeInt16(int val, byte[] b, int offset)
public static void writeUInt16(int val, byte[] b, int offset)
public static void writeInt16(int val, java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static void writeUInt16(int val, java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static void writeInt32(int val, byte[] b, int offset)
public static void writeUInt32(long val, byte[] b, int offset)
public static void writeInt32(int val, java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static void writeUInt32(long val, java.io.RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public static void writeInt64(long val, byte[] b, int offset)
public static void writeUInt64(long val, byte[] b, int offset)
public static void writeIEEEDouble(double val, byte[] b, int offset)
public static java.lang.String UTF16LEToString(byte[] data, int offset, int len)
data
- offset
- len
- length in character count
public static java.lang.String UTF16LEToString(byte[] data, int offset)
data
- offset
- len
- length in character count
public static byte[] StringToUTF16LE(java.lang.String str, boolean zeroTerminate)
str
- zeroTerminate
- set true if you want to do zero(\0000) terminate
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |