public class Asn1RealBase2 extends Asn1Real
ANY_BASE, ANY_BINARY, BASE_2_ONLY, TAG, value
BIT_STRING, BMPString, BOOLEAN, DATE, DATE_TIME, DURATION, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, mNonParameterizedTypeName, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OID_IRI, OpenType, PrintableString, REAL, RELATIVE_OID_IRI, RelativeOID, SEQUENCE, SET, T61String, TeletexString, TIME, TIME_OF_DAY, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString
Constructor and Description |
---|
Asn1RealBase2()
The default constructor sets the double value to zero.
|
Asn1RealBase2(double value_)
This constructor creates an REAL object from a double value.
|
Modifier and Type | Method and Description |
---|---|
void |
decode(Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
This method decodes an ASN.1 REAL value including the UNIVERSAL
tag value and length if explicit tagging is specified.
|
void |
decode(Asn1OerDecodeBuffer buffer)
Decode a REAL value, encoded according to OER, into this object.
|
void |
decode(Asn1PerDecodeBuffer buffer)
This method decodes ASN.1 REAL value using the Packed Encoding Rules
(PER).
|
decode, decode, decode, decodeDouble, decodeSingle, decodeV72, decodeXER, decodeXML, encode, encode, encode, encode, encode, encode, encode, encode, encode, encodeAttribute, encodeDouble, encodeSingle, encodeV72, encodeValue, equals, equals, getAsn1TypeName, hashCode, normalizedRealValueToString, skip, toString
_setKey, _setLicLocation, clone, decode, decode, decode, decode, decode, decode, decode, decode, decode, decode, encode, encode, encode, encode, encode, encodeAsOpenType, equals, getLength, getNonParameterizedTypeName, getTypeName, indent, indent, isOpenType, matchTag, matchTag, pdiag, print, print, print, setNonParameterizedTypeName, setOpenType
public Asn1RealBase2()
public Asn1RealBase2(double value_)
value_
- double valuepublic void decode(Asn1BerDecodeBuffer buffer, boolean explicit, int implicitLength) throws Asn1Exception, java.io.IOException
decode
in interface Asn1TypeIF
decode
in class Asn1Real
buffer
- Decode message buffer objectexplicit
- Flag indicating element is explicitly taggedimplicitLength
- Length of contents if implicitAsn1Exception
java.io.IOException
public void decode(Asn1OerDecodeBuffer buffer) throws java.io.IOException
public void decode(Asn1PerDecodeBuffer buffer) throws Asn1Exception, java.io.IOException
decode
in interface Asn1TypeIF
decode
in class Asn1Real
buffer
- PER Decode message buffer objectAsn1Exception
java.io.IOException