cstring wrapper additional functions