this.info = info;
}
public final IRubyObject invoke(ThreadContext context, Function function, HeapInvocationBuffer args) {
int size = info.getStructLayout().getSize();
Buffer buf = new Buffer(context.runtime, size);
MemoryIO mem = buf.getMemoryIO();
byte[] array;
int arrayOffset;
if (mem instanceof ArrayMemoryIO) {
ArrayMemoryIO arrayMemoryIO = (ArrayMemoryIO) mem;
array = arrayMemoryIO.array();