public static UnsignedShortPointer frompointer(SWIGTYPE_p_unsigned_short t)
        {
            IntPtr cPtr = RakNetPINVOKE.UnsignedShortPointer_frompointer(SWIGTYPE_p_unsigned_short.getCPtr(t));
            UnsignedShortPointer ret = (cPtr == IntPtr.Zero) ? null : new UnsignedShortPointer(cPtr, false);

            return(ret);
        }
 internal static HandleRef getCPtr(UnsignedShortPointer obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
        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 HandleRef getCPtr(UnsignedShortPointer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }