public class BerBitString extends java.lang.Object implements java.io.Serializable, BerType
Modifier and Type | Field and Description |
---|---|
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(java.io.InputStream is) |
int |
decode(java.io.InputStream is,
boolean withTag) |
int |
encode(java.io.OutputStream reverseOS) |
int |
encode(java.io.OutputStream reverseOS,
boolean withTag) |
boolean[] |
getValueAsBooleans() |
java.lang.String |
toString() |
public static final BerTag tag
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(java.io.OutputStream reverseOS) throws java.io.IOException
public int encode(java.io.OutputStream reverseOS, boolean withTag) throws java.io.IOException
java.io.IOException
public int decode(java.io.InputStream is) throws java.io.IOException
public int decode(java.io.InputStream is, boolean withTag) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object