Handy type synonym for a regional pointer to an array of C characters which
is paired with the length of the array instead of terminated by a NUL.
(Thus allowing NUL characters in the middle of the string)

This should provide a safer replacement for Foreign.C.String.CStringLen.

Handy type synonym for a regional pointer to an array of C wide characters
which is paired with the length of the array instead of terminated by a NUL.
(Thus allowing NUL characters in the middle of the string)

This should provide a safer replacement for Foreign.C.String.CWStringLen.