public static ushort QFromBigEndian_helper(Pointer<byte> src, ref short des)
{
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_short = des;
staticInterceptor.Invoke("qFromBigEndian_helper$$", "qFromBigEndian_helper(const uchar*, unsigned short*)", stack);
#if DEBUG
DebugGCHandle.Free((GCHandle) stack[1].s_class);
#else
((GCHandle) stack[1].s_class).Free();
#endif
des = stack[2].s_short;
return stack[0].s_ushort;
}