Encodes Value of Type defined in the ASN.1 module
Module. Returns a possibly nested list of bytes and or binaries
if successful. To get as fast execution as possible the
encode function only performs rudimentary tests that the input
Value
is a correct instance of Type. The length of strings is for example
not always checked.

utf8_binary_to_list/1 Transforms a UTF8 encoded binary
to a list of integers, where each integer represents one
character as its unicode value. The function fails if the binary
is not a properly encoded UTF8 string.