inputStream.read(globalTransactionId, 0, globalTransactionIdSize);
byte branchQualifierIdSize = inputStream.readByte();
final byte[] branchQualifierId = new byte[branchQualifierIdSize];
inputStream.read(branchQualifierId, 0, branchQualifierIdSize);
final int formadId = inputStream.readInt();
return new MuleXid(formadId, globalTransactionId, branchQualifierId);
}