code: public synchronized Xid getXid()
     {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getXid");
  
        checkReleased();
  
        int formatId = getInt();
        int glidLength = getInt();
        byte[] globalTransactionId = get(glidLength);
        int blqfLength = getInt();
        byte[] branchQualifier = get(blqfLength);
  
        XidProxy xidProxy = new XidProxy(formatId, globalTransactionId, branchQualifier);
  
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "getXid", xidProxy);
        return xidProxy;
     }
docs: Reads an Xid from the current position in the buffer.
  
  @return Returns an Xid