public class BerBoolean
extends java.lang.Object
| 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(java.io.InputStream is) |
int |
decode(java.io.InputStream is,
boolean withTag) |
int |
encode(BerByteArrayOutputStream os) |
int |
encode(BerByteArrayOutputStream os,
boolean withTag) |
void |
encodeAndSave(int encodingSizeGuess) |
java.lang.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(BerByteArrayOutputStream os) throws java.io.IOException
java.io.IOExceptionpublic int encode(BerByteArrayOutputStream os, boolean withTag) throws java.io.IOException
java.io.IOExceptionpublic int decode(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic int decode(java.io.InputStream is,
boolean withTag)
throws java.io.IOException
java.io.IOExceptionpublic void encodeAndSave(int encodingSizeGuess)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object