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