The format of XID must follow these rules :
The Branch Qualifier length must be between 1 and 64
The Transaction Identifier must be between the Branch Qualifier Length + 1
and the Branch Qualifier Length + 64
The Global Transaction Identifier is provided by the first bytes in the
Transaction Identifier; the following Branch Qualifier Length bytes
correspond to the Branch Qualifier part of the XID