asn1rt

asn1rt

Module

asn1rt

Module summary

ASN.1 runtime support functions

Description

Warning

All functions in this module are deprecated and will be removed in a future release.

Exports

decode(Module,Type,Bytes) -> {ok,Value}|{error,Reason}

Types:

Module = Type = atom()
Value = Reason = term()
Bytes = binary

Decodes Type from Module from the binary Bytes. Returns {ok,Value} if successful.

Use Module:decode(Type, Bytes) instead of this function.

encode(Module,Type,Value)-> {ok,Bytes} | {error,Reason}

Types:

Module = Type = atom()
Value = term()
Bytes = binary
Re