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