sbarisic / string_utf8

A string type which defaults to the UTF-8 encoding for .NET for use in marshalling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

string_utf8

StringUTF8, StringASCII classes and StringPtr struct mainly for use with unmanaged code interop. Unmanaged functions which take a string should instead take a StringPtr argument, and all supplied strings will properly implicitly map or convert to the proper encoding before being passed on to the function.

alt text

About

A string type which defaults to the UTF-8 encoding for .NET for use in marshalling

License:The Unlicense


Languages

Language:C# 92.3%Language:C++ 7.7%