StringC

Class containing the string conversion functions

Members

Aliases

Wchar
alias Wchar = wchar_t

Wide character type alias (platform dependent)

Static functions

toCString
char* toCString(Buffer!(char) str)

Converts str to a C string, that is, if a null terminator is not present then it is appended to the original string. A pointer to the string is returned.

toCString
char* toCString(mstring str)

Converts str to a C string, that is, if a null terminator is not present then it is appended to the original string. A pointer to the string is returned.

toDString
inout(char)[] toDString(inout(char)* str)

Converts str to a D string: str is sliced from the beginning up to its null terminator.

toDString
inout(Wchar)[] toDString(inout(Wchar)* str)

Converts str to a D string: str is sliced from the beginning up to its null terminator.

Static variables

Term
char Term;

Null terminators

Wterm
Wchar Wterm;
Undocumented in source.

Meta