2.2.5.1 LengthPrefixedName
The LengthPrefixedName type specifies an array of Unicode characters prefixed by the array length in characters.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Length |
|||||||||||||||||||||||||||||||
|
Name (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Length (4 bytes): An unsigned long that MUST contain the number of Unicode characters in the Name field and MUST NOT be zero.
Name (variable): This MUST contain an array of Unicode characters in UTF-16 encoding, as specified in [RFC2781]); the array SHOULD NOT end in a NULL terminator.