StringC.toDString

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

  1. inout(char)[] toDString(inout(char)* str)
  2. inout(Wchar)[] toDString(inout(Wchar)* str)
    class StringC
    static
    inout(Wchar)[]
    toDString
    (
    inout(Wchar)* str
    )

Parameters

str inout(Wchar)*

C compatible input string (pointer to the first character of the null terminated string)

Return Value

Type: inout(Wchar)[]

D compatible (non-null terminated) string

Meta