public class BitArray extends Object
Constructor and Description |
---|
BitArray(byte[] bytes) |
BitArray(int numBits) |
Modifier and Type | Method and Description |
---|---|
int |
bitsLength() |
int |
bytesLength() |
void |
clear() |
void |
fromByteBuffer(ByteBuffer byteBuffer) |
boolean |
get(int idx) |
void |
set(int idx) |
byte[] |
toArray() |
String |
toString() |
public void set(int idx)
public boolean get(int idx)
public void clear()
public int bytesLength()
public int bitsLength()
public byte[] toArray()
public void fromByteBuffer(ByteBuffer byteBuffer)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.