public final IRubyObject invoke(Ruby runtime, Function function, Object[] args) {
Pointer address = function.invokePointer(args);
if (address == null) {
return runtime.getNil();
}
int len = (int) address.indexOf(0, (byte) 0);
if (len == 0) {
return RubyString.newEmptyString(runtime);
}
ByteList bl = new ByteList(len);
bl.length(len);