public class BerBitString extends Object implements Serializable, BerType
| Modifier and Type | Field and Description |
|---|---|
byte[] |
code |
int |
numBits |
static BerTag |
tag |
byte[] |
value |
| Constructor and Description |
|---|
BerBitString() |
BerBitString(boolean[] value) |
BerBitString(byte[] code) |
BerBitString(byte[] value,
int numBits) |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(InputStream is) |
int |
decode(InputStream is,
boolean withTag) |
int |
encode(OutputStream reverseOS) |
int |
encode(OutputStream reverseOS,
boolean withTag) |
boolean[] |
getValueAsBooleans() |
String |
toString() |
public static final BerTag tag
public byte[] code
public byte[] value
public int numBits
public BerBitString()
public BerBitString(byte[] value,
int numBits)
public BerBitString(boolean[] value)
public BerBitString(byte[] code)
public boolean[] getValueAsBooleans()
public int encode(OutputStream reverseOS) throws IOException
encode in interface BerTypeIOExceptionpublic int encode(OutputStream reverseOS, boolean withTag) throws IOException
IOExceptionpublic int decode(InputStream is) throws IOException
decode in interface BerTypeIOExceptionpublic int decode(InputStream is, boolean withTag) throws IOException
IOException