public static UnsignedShortPointer frompointer(SWIGTYPE_p_unsigned_short t) { global::System.IntPtr cPtr = RakNetPINVOKE.UnsignedShortPointer_frompointer(SWIGTYPE_p_unsigned_short.getCPtr(t)); UnsignedShortPointer ret = (cPtr == global::System.IntPtr.Zero) ? null : new UnsignedShortPointer(cPtr, false); return(ret); }
public ushort Pop() { SWIGTYPE_p_unsigned_short ret = PopHelper(); return(UnsignedShortPointer.frompointer(ret).value()); }
public ushort Get(uint position) { SWIGTYPE_p_unsigned_short ret = GetHelper(position); return(UnsignedShortPointer.frompointer(ret).value()); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UnsignedShortPointer obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }