Module for conversion between strings in C and D. Needed for C library bindings.
Usage:
mstring text; char* cText = StringC.toCString(text); mstring text = StringC.toDString(cText);
FIXME: the functions here are not memory safe, they need to be re-written to accept ref char[].
Class containing the string conversion functions
See Source File
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).
Copyright (c) 2009-2016 dunnhumby Germany GmbH. All rights reserved.
Module for conversion between strings in C and D. Needed for C library bindings.
Usage:
FIXME: the functions here are not memory safe, they need to be re-written to accept ref char[].