Token.setString

Set to contents of ptr[0..length]

  1. void setString(const(char)* ptr, size_t length)
    struct Token
    nothrow
    void
    setString
    (
    const(char)* ptr
    ,
    size_t length
    )
  2. void setString(const ref OutBuffer buf)
  3. void setString()

Parameters

ptr
Type: const(char)*

pointer to string

length
Type: size_t

length of string

Meta