|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1) E12063-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.dss.util.xdo.common.util.Bin
public class Bin
Byte array operation routines Example) byte[] org = {(byte)0x00,(byte)0x01,(byte)0x02,(byte)0x03,(byte)0x04,(byte)0x05}; byte[] data = {(byte)0xAA,(byte)0xBB,(byte)0xCC}; byte[] replaced; replaced = BinReplace.replace( org, 1, 2, data ); ==> 00 AA BB CC 03 04 05
Field Summary | |
---|---|
static java.lang.String |
RCS_ID |
Constructor Summary | |
---|---|
Bin() |
Method Summary | |
---|---|
static byte[] |
concat(byte[] org, byte[] data) Concat specified two byte arrays into one byte array |
static byte[] |
insert(byte[] org, int pos, byte[] data) Insert specified specified data into org byte array |
static byte[] |
insert(byte[] org, int pos, byte[] data, int dataPos, int dataLen) Insert specified specified data into org byte array |
static byte[] |
replace(byte[] org, int pos, int len, byte[] data) Replace specified range of org with specified data |
static byte[] |
replace(byte[] org, int pos, int len, byte[] data, int dataPos, int dataLen) Replace specified range of org with specified data |
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 Bin()
Method Detail |
---|
public static byte[] replace(byte[] org, int pos, int len, byte[] data, int dataPos, int dataLen)
org
- original byte arraypos
- start position of org to be replacedlen
- length of org to be replaceddata
- data bytes to be inserteddataPos
- start position of data to be inserteddataLen
- length of datapublic static byte[] replace(byte[] org, int pos, int len, byte[] data)
org
- original byte arraypos
- start position of org to be replacedlen
- length of org to be replaceddata
- data bytes to be insertedpublic static byte[] insert(byte[] org, int pos, byte[] data, int dataPos, int dataLen)
org
- original byte arraypos
- position of org to be inserteddata
- data bytes to be inserteddataPos
- start position of data to be inserteddataLen
- length of datapublic static byte[] insert(byte[] org, int pos, byte[] data)
org
- original byte arraypos
- position of org to be inserteddata
- data bytes to be insertedpublic static byte[] concat(byte[] org, byte[] data)
bArray1
- byte array1bArray2
- byte array2
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1) E12063-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |