Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: still fooling aroundwith description

Increasingly, developers view strings as a portable means of storing and communicating arbitrary data, such as numeric values.  For example, a real world system stored the binary values of encrypted passwords as strings in a database.  Arbitrary binary data may not be representable as a string, because not all bit patterns represent valid characters in most character sets. Consequently, programmers must never directly convert a byte array convert non-character data to a string.  A real world example involved storing the binary values of encrypted passwords as strings in a database.

Noncompliant Code Example

...