I use ossEncode and ossDecode function(developed by OSS Nokalva) to handle ASN.1 syntax in my program. Now I have a problem. In my program I have to get the length of the encoded bitstream, and calculate some value with the length, the update the value in encoded bitstream. I mean, some item's value I want to encoded must be calculated by encode result, how can I do? I do not want to call encode function, get length and set value and call encode function again.
Can I get the better solution?