Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseMultiSz ¶
ParseMultiSz splits a UTF-16 encoded MULTI_SZ buffer (Windows style) into individual UTF-16 string slices.
A MULTI_SZ buffer is a sequence of UTF-16 strings separated by single null terminators (0x0000) and terminated by an extra null (i.e., two consecutive nulls) to mark the end of the list.
Example layout in memory (UTF-16):
"foo\0bar\0baz\0\0"
Given such a []uint16, this function returns a [][]uint16 where each inner slice is one null-terminated string segment without the trailing null.
The returned slices reference the original buffer (no copying).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.