org.openmuc.jasn1.ber.types
Class BerInteger
java.lang.Object
org.openmuc.jasn1.ber.types.BerInteger
- Direct Known Subclasses:
- BerEnum
public class BerInteger
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
identifier
public static final BerIdentifier identifier
id
public BerIdentifier id
code
public byte[] code
val
public long val
BerInteger
public BerInteger()
BerInteger
public BerInteger(byte[] code)
BerInteger
public BerInteger(long val)
encode
public int encode(BerByteArrayOutputStream berOStream,
boolean explicit)
throws java.io.IOException
- Throws:
java.io.IOException
decode
public int decode(java.io.InputStream iStream,
boolean explicit)
throws java.io.IOException
- Throws:
java.io.IOException
encodeAndSave
public void encodeAndSave(int encodingSizeGuess)
throws java.io.IOException
- Throws:
java.io.IOException