Commit 71a73694 authored by Anett Jakab's avatar Anett Jakab
Browse files

TitanInteger


Signed-off-by: Anett Jakab's avatarAnett Jakab <jakabanett13@gmail.com>
parent 73cdff76
......@@ -1345,7 +1345,6 @@ public class TitanInteger extends Base_Type {
TTCN_EncDec_ErrorContext.error_internal("No BER descriptor available for type '%s'.", p_td.name);
}
//int L_form = flavour;
ASN_BER_TLV tlv = new ASN_BER_TLV();
BER_decode_str2TLV(p_buf, tlv, flavour);
......@@ -2353,7 +2352,7 @@ public class TitanInteger extends Base_Type {
else return null;
}
public ASN_BER_TLV BER_encode_TLV (final TTCN_Typedescriptor p_td, int coding) {
public ASN_BER_TLV BER_encode_TLV(final TTCN_Typedescriptor p_td, int coding) {
ASN_BER_TLV newTlv = BER_encode_chk_bound(is_bound());
......@@ -2370,14 +2369,14 @@ public class TitanInteger extends Base_Type {
return newTlv;
}
public boolean BER_decode_TLV (TTCN_Typedescriptor p_td, ASN_BER_TLV p_tlv, int L_form) {
public boolean BER_decode_TLV(TTCN_Typedescriptor p_td, ASN_BER_TLV p_tlv, int L_form) {
boundFlag = false;
ASN_BER_TLV strippedTlv = new ASN_BER_TLV();
strippedTlv = BER_decode_strip_tags(p_td.ber, p_tlv, L_form, strippedTlv);
TitanInteger tmp = new TitanInteger();
Map <Boolean, TitanInteger> p = BER_decode_TLV_Integer(strippedTlv, L_form, tmp);
Map<Boolean, TitanInteger> p = BER_decode_TLV_Integer(strippedTlv, L_form, tmp);
for (Map.Entry<Boolean, TitanInteger> me: p.entrySet()) {
boolean returnVal = me.getKey();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment