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)
    class StringC
    static
    inout(char)[]
    toDString
    (
    inout(char)* str
    )
  2. inout(Wchar)[] toDString(inout(Wchar)* str)

Parameters

str inout(char)*

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

Return Value

Type: inout(char)[]

D compatible (non-null terminated) string

Meta