weblogic.jdbc.informix4
Class BitsArray
java.lang.Object
|
+--weblogic.jdbc.informix4.BitsArray
- public class BitsArray
- extends java.lang.Object
- Author:
- Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
Method Summary
|
int |
getPosition()
|
int |
read(int numberOfBits)
Retrieves up to 32 bits from the buffer. |
byte[] |
toByteArray()
|
void |
write(int numberOfBits,
int bits)
Writes up to 32 bits in the bits area. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BitsArray
public BitsArray()
BitsArray
public BitsArray(byte[] bits)
BitsArray
public BitsArray(byte[] bits,
int off,
int len)
write
public void write(int numberOfBits,
int bits)
- Writes up to 32 bits in the bits area. Will resize the buffer if necessary.
read
public int read(int numberOfBits)
- Retrieves up to 32 bits from the buffer.
getPosition
public int getPosition()
toByteArray
public byte[] toByteArray()
WebLogic classes and methods that do not appear in this reference are not public and are not supported.