Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed self reference

...

The java.nio.charset.CharsetEncoder class can transform a sequence of 16-bit Unicode characters into a sequence of bytes in a specific charset, while the java.nio.charset.CharacterDecoder class can reverse the procedure [API 2006]. Also see rule FIO11-J. Do not attempt to read raw binary data as character data for more information.

This compliant solution uses the CharsetEncoder and CharsetDecoder classes to handle encoding conversions.

...