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