Data.Text.Foreign
Interoperability with native code
Safe conversion functions
fromPtr
useAsPtr
Unsafe conversion code
lengthWord16
unsafeCopyToPtr