2.6.2 BinaryLibrary

The BinaryLibrary record associates an INT32 ID (as specified in [MS-DTYP] section 2.2.22) with a Library name. This allows other records to reference the Library name by using the ID. This approach reduces the wire size when there are multiple records that reference the same Library name.


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

RecordTypeEnum

LibraryId

...

LibraryName (variable)

...

RecordTypeEnum (1 byte): A RecordTypeEnumeration value that identifies the record type. The value MUST be 12.

LibraryId (4 bytes): An INT32 value (as specified in [MS-DTYP] section 2.2.22) that uniquely identifies the Library name in the serialization stream. The value MUST be a positive integer. An implementation MAY use any algorithm to generate the unique IDs.<11>

LibraryName (variable): A LengthPrefixedString value that represents the Library name. The format of the string is specified in [MS-NRTP] section 2.2.1.3.