Package org.asnlab.asndt.runtime.conv
Class BigIntegerConverter
java.lang.Object
org.asnlab.asndt.runtime.conv.AsnConverter
org.asnlab.asndt.runtime.conv.ZahlenConverter
org.asnlab.asndt.runtime.conv.BigIntegerConverter
The
IntegerConverter can convert INTEGER value object to/from
BigInteger value.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvert(Object object, Buffer buffer, org.asnlab.asndt.runtime.type.IntegerType type, org.asnlab.asndt.runtime.type.Codec codec) convert(Buffer buffer, org.asnlab.asndt.runtime.type.IntegerType type, org.asnlab.asndt.runtime.type.Codec codec) toObject(BigInteger value) Return the BigInteger value objectReturn the BigInteger valueMethods inherited from class org.asnlab.asndt.runtime.conv.ZahlenConverter
convert, convert, convert, convertMethods inherited from class org.asnlab.asndt.runtime.conv.AsnConverter
isAnonymous
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BigIntegerConverter
public BigIntegerConverter()
-
-
Method Details
-
convert
public void convert(Object object, Buffer buffer, org.asnlab.asndt.runtime.type.IntegerType type, org.asnlab.asndt.runtime.type.Codec codec) - Overrides:
convertin classZahlenConverter
-
convert
public Object convert(Buffer buffer, org.asnlab.asndt.runtime.type.IntegerType type, org.asnlab.asndt.runtime.type.Codec codec) - Overrides:
convertin classZahlenConverter
-
toValue
Return the BigInteger value- Parameters:
object- The INTEGER value object- Returns:
- The BigInteger value
-
toObject
Return the BigInteger value object- Parameters:
value- The BigInteger value- Returns:
- The INTEGER value object
-