utf16Error

Returns the precise error in a UTF-16 sequence.

  1. UTF16Error utf16Error(cwstring s, ref size_t i)
  2. UTF16Error utf16Error(ref cwchar* p, cwchar* end)
    utf16Error
    (
    ref cwchar* p
    ,
    cwchar* end
    )
    in { auto p_ = p; assert (decode(p_, end) == ERROR_CHAR); }

Meta