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