public class Integer16 extends ASNObject
Modifier and Type | Method and Description |
---|---|
boolean |
decode(java.io.DataInputStream is)
decodes the data from the InputStream and writes it to an object
|
void |
encode(java.io.DataOutputStream os)
encodes this object and writes it to the stream os.
|
short |
getVal() |
java.lang.String |
toString() |
isOptional, isSelected, setOptional, setSelected, setSelected
public short getVal()
public void encode(java.io.DataOutputStream os) throws java.io.IOException
ASNObject
os
- output streamjava.io.IOException
- if something went wrong while writing to the streampublic java.lang.String toString()
public boolean decode(java.io.DataInputStream is) throws java.io.IOException
ASNObject