2.2.4.4 Token Groups

The Token Groups structure contains the serialized binary SystemIDs (section 2.2.1.12) for a collection of external groups.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

GroupCount

OffsetsAndAttributes (variable)

...

GroupSystemIds (variable)

...

GroupCount (4 bytes):  A 4-byte, unsigned integer value specifying the number of external groups' SystemIDs that are serialized in this structure.

OffsetsAndAttributes (variable):  A variable-length serialized array containing GroupCount elements consisting of Token Group Offset and Attributes (section 2.2.4.3) structures specifying the lengths and offsets of the serialized binary SystemIDs for the corresponding external groups, one for each external group's SystemID in the collection.

GroupSystemIds (variable):  A variable-length field (2) containing the collection of serialized binary SystemIDs for the external groups. Each external group's SystemID starts at the offset value in bytes from the beginning of the Token Groups structure and has the length in bytes specified by the Attributes value in the OffsetsAndAttributes array element corresponding to the external group.