2.2.1 LengthPrefixedName

The LengthPrefixedName type specifies an array of Unicode characters prefixed by the array length, in characters.


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

Length

Name (variable)

...

Length (4 bytes): An unsigned long that MUST contain the number of Unicode characters in Name, and MUST NOT be zero.

Name (variable):  A Unicode string; the string SHOULD NOT end in a NULL terminator.