BEA Systems, Inc.

WebLogic Server 6.1 API Reference

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.

Constructor Summary
BitsArray()
           
BitsArray(byte[] bits)
           
BitsArray(byte[] bits, int off, int len)
           
 
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
 

Constructor Detail

BitsArray

public BitsArray()

BitsArray

public BitsArray(byte[] bits)

BitsArray

public BitsArray(byte[] bits,
                 int off,
                 int len)
Method Detail

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()

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.