Javadoc
Reverse a Right-To-Left run of Unicode text.
This method preserves the integrity of characters with multiple
code units and (optionally) combining characters.
Characters can be replaced by mirror-image characters
in the destination buffer. Note that "real" mirroring has
to be done in a rendering engine by glyph selection
and that for many "mirrored" characters there are no
Unicode characters as mirror-image equivalents.
There are also options to insert or remove Bidi control
characters.
This method is the implementation for reversing RTL runs as part
of writeReordered()
. For detailed descriptions
of the parameters, see there.
Since no Bidi controls are inserted here, the output string length
will never exceed src.length()
.