public class BerBitString
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
code |
protected BerIdentifier |
id |
static BerIdentifier |
identifier |
int |
numBits |
byte[] |
value |
| Constructor and Description |
|---|
BerBitString() |
BerBitString(byte[] code) |
BerBitString(byte[] value,
int numBits) |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(java.io.InputStream is,
boolean explicit) |
int |
encode(BerByteArrayOutputStream os,
boolean explicit) |
java.lang.String |
toString() |
public static final BerIdentifier identifier
protected BerIdentifier id
public byte[] code
public byte[] value
public int numBits
public BerBitString()
public BerBitString(byte[] value,
int numBits)
public BerBitString(byte[] code)
public int encode(BerByteArrayOutputStream os, boolean explicit) throws java.io.IOException
java.io.IOExceptionpublic int decode(java.io.InputStream is,
boolean explicit)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object