# Synopsis

PDX_MSGT unl_DebugDumpUTF16(const unsigned char *start, const unsigned char *end)

# Purpose

Dumps each character sequence line by line as well as the lengths.

# Description

An invalid character causes a return at that point. The prints the hexadecimal values of each character one character per line. It finishes with a byte and character count. If end is NULL then the counts include the null terminator and that is subsequently dumped.

# Input

## start

UTF16 string to be processed.

## end

If not NULL then this address is the end of the string else the end of the string is the first NULL character. Processing occurs from start until just before the end.

# Return

          UNL_NOERR
          No Error
          UNL_CONVERSION_ERR
          Low level error return
          .fi