2.2.1.2.1 Unicode String (UNICODE_STRING)
The UNICODE_STRING packet is used to pack a variable-length Unicode string.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CbString |
String (variable) |
||||||||||||||||||||||||||||||
... |
CbString (2 bytes): An unsigned 16-bit integer. The number of bytes in the String field. If CbString is zero (0), then the String field is absent. The maximum allowed value for CbString depends on the context in which the string is used.
String (variable): Optional and of variable length. A non-null-terminated Unicode character string. The number of characters in the string is equal to the value of CbString divided by 2.