decode

Decodes and returns character starting at sidx. idx is advanced past the decoded character. If the character is not well formed, a UtfException is thrown and idx remains unchanged.

  1. dchar decode(char[] s, size_t idx)
  2. dchar decode(wchar[] s, size_t idx)
    dchar
    decode
    (
    in wchar[] s
    ,)
    out (result) { assert (isValidDchar(result)); }
  3. dchar decode(dchar[] s, size_t idx)

Meta