Encodes the function as a hexadecimal string with the provided parameters.
String encodeHex(List params, [bool withSelector = true]) { return BytesUtils.toHexString(encode(params, withSelector)); }