The standard function for de-serializing codec structs from a format suitable
for message exchange between actor and host. Use of any other function to
deserialize could result in breaking incompatibilities.
The standard function for serializing codec structs into a format that can be
used for message exchange between actor and host. Use of any other function to
serialize could result in breaking incompatibilities.