What are the advantages and disadvantages of using the space-optimized encoder/decoder?

Using the space-optimized encoder/decoder increases the likelihood that the size of your object code and application executable will be minimized, since calls to external library functions are used. This is especially true when working with huge input ASN.1 specifications. However, when working with small input ASN.1 specifications, the object code produced may not be smaller in size than that which is produced when the time-optimized encoder/decoder is in use.

Additionally, the space optimized encoder/decoder possesses full tracing and diagnostic capabilities. You will most likely find such capabilities useful during the development stage of your application.

However, the space-optimized encoder/decoder has a lower performance speed as compared to the time-optimized encoder/decoder.

For more information about our runtime libraries, see the Runtime Choices section.

The samples included with some of the Knowledge Center answers are meant for your general understanding of the OSS products. Different versions of the products might produce slightly different outputs. Consult the products documentation and samples for the most up-to-date products information and code examples.

Contact Support
contact Our office hours
24 hours/day, 7 days/week

  • Phone: 1-888-OSS-2761 (USA and Canada)
  • Phone: 1-732-302-9669 (International)
  • Fax: 1-732-302-0023
  • Email: support@oss.com
Free Trial

Test drive the OSS Nokalva ASN.1, LTE, and XML Tools now! Your trial includes complete software, documentation, sample programs, free 24x7 technical support and more.

Learn ASN.1
Learn ASN.1

Our expert personnel can help you learn ASN.1!

We offer 4-day ASN.1 courses at our headquarters or your premises.