cstring-interop

Code to support calling into C APIs which consume strings.