by the_other_guy · 8y ago · 0 comments
Tbh, i'm surprised msgpack didn't produce smaller outputs for you, because it really should (at the cost of being slower)
ASN.1 PER encodes data on a bit-level (that is, it represents integers using minimal number of bits they can fit in) and doesn't waste space on tags if not necessary. It is used in all kinds of telecom protocol, particularly mobile protocols such as LTE. Obviously, it needs to be both space-efficient and efficient in processing.
You can find more about ASN.1 uses here: https://www.marben-products.com/