utf8Error

Returns the precise error in a UTF-8 sequence.

  1. UTF8Error utf8Error(cstring s, ref size_t i)
  2. UTF8Error utf8Error(ref cchar* p, cchar* end)
    utf8Error
    ()
    in { auto p_ = p; assert (decode(p_, end) == ERROR_CHAR); }

Meta