if (ENCODING(cursor)) { u.b32 = XPT_SWAB32(*u32p); CURS_POINT(cursor) = u.b8[0]; cursor->offset++; CURS_POINT(cursor) = u.b8[1]; cursor->offset++; CURS_POINT(cursor) = u.b8[2]; cursor->offset++; CURS_POINT(cursor) = u.b8[3]; } else { u.b8[0] = CURS_POINT(cursor); cursor->offset++; u.b8[1] = CURS_POINT(cursor); cursor->offset++; u.b8[2] = CURS_POINT(cursor); cursor->offset++; u.b8[3] = CURS_POINT(cursor); *u32p = XPT_SWAB32(u.b32); } cursor->offset++;
XPT_PUBLIC_API(PRBool)XPT_Do32(XPTCursor *cursor, PRUint32 *u32p){    union {        PRUint8 b8[4];        PRUint32 b32;    } u;    if (!CHECK_COUNT(cursor, 4))        return PR_FALSE;    if (ENCODING(cursor)) {        u.b32 = XPT_SWAB32(*u32p);        CURS_POINT(cursor) = u.b8[0];        cursor->offset++;        CURS_POINT(cursor) = u.b8[1];        cursor->offset++;        CURS_POINT(cursor) = u.b8[2];        cursor->offset++;        CURS_POINT(cursor) = u.b8[3];    } else {        u.b8[0] = CURS_POINT(cursor);        cursor->offset++;        u.b8[1] = CURS_POINT(cursor);        cursor->offset++;        u.b8[2] = CURS_POINT(cursor);        cursor->offset++;        u.b8[3] = CURS_POINT(cursor);        *u32p = XPT_SWAB32(u.b32);    }    cursor->offset++;    return PR_TRUE;}