public static ulong QFromBigEndian_helper(Pointer<byte> src, ref ulong dest)
{
StackItem[] stack = new StackItem[3];
#if DEBUG
stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(src);
#else
stack[1].s_class = (IntPtr) GCHandle.Alloc(src);
#endif
stack[2].s_ulong = dest;
staticInterceptor.Invoke("qFromBigEndian_helper$?", "qFromBigEndian_helper(const uchar*, quint64*)", stack);
#if DEBUG
DebugGCHandle.Free((GCHandle) stack[1].s_class);
#else
((GCHandle) stack[1].s_class).Free();
#endif
dest = stack[2].s_ulong;
return stack[0].s_ulong;
}