createFunction

Convenience overload of createFunction using UTF-8 encoding, the only one currently supported.

Throws

if an error happened while creating the function.