org.openmuc.jasn1.ber.types
public class BerBitString extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
byte[] |
bitString |
byte[] |
code |
protected BerIdentifier |
id |
static BerIdentifier |
identifier |
int |
numBits |
Constructor and Description |
---|
BerBitString() |
BerBitString(byte[] code) |
BerBitString(byte[] bitString,
int numBits) |
Modifier and Type | Method and Description |
---|---|
int |
decode(java.io.InputStream iStream,
boolean explicit) |
int |
encode(BerByteArrayOutputStream berOStream,
boolean explicit) |
public static final BerIdentifier identifier
protected BerIdentifier id
public byte[] code
public byte[] bitString
public int numBits
public BerBitString()
public BerBitString(byte[] bitString, int numBits)
public BerBitString(byte[] code)
public int encode(BerByteArrayOutputStream berOStream, boolean explicit) throws java.io.IOException
java.io.IOException
public int decode(java.io.InputStream iStream, boolean explicit) throws java.io.IOException
java.io.IOException