This standardized mapping takes as input any schema written in
XML Schema and produces an ASN.1 module containing a set of type definitions in such a way that there is a one-to-one correspondence between ASN.1 abstract values and valid XML instances.
ASN.1 standardized encoding rules such as DER (a canonical encoding that allows digital signatures and encryption) or PER (to very efficiently transmit data over a radio channel), or even specific encoding rules that are described in
ECN, can then be used.
One big benefit of using a binary encoding is speed. Decoding a binary stream improves performance by a factor 100 or more. Another benefit is size: a binary encoding may save up to 80% or even more relative to corresponding XML text.