public class BerBoolean extends Object implements Serializable, BerType
| Modifier and Type | Field and Description |
|---|---|
byte[] |
code |
static BerTag |
tag |
boolean |
value |
| Constructor and Description |
|---|
BerBoolean() |
BerBoolean(boolean value) |
BerBoolean(byte[] code) |
| 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) |
void |
encodeAndSave(int encodingSizeGuess) |
String |
toString() |
public static final BerTag tag
public byte[] code
public boolean value
public BerBoolean()
public BerBoolean(byte[] code)
public BerBoolean(boolean value)
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
IOExceptionpublic void encodeAndSave(int encodingSizeGuess)
throws IOException
IOException