namespace Wayne.Lib { /// /// The format of a byte[] converted to (and sometimes from) a string. /// public enum StringsByteArrayFormat { #region Fields /// /// The bytes symbolizes decimal numbers. /// The converted string is comma separated. /// Bytes, /// /// The bytes symbolizes hexadecimal numbers. /// The converted string is comma separated. /// Hex, /// /// The bytes symbolizes hexadecimal numbers. /// CompactHex, /// /// The bytes symbolizes the current code page's ANSI characters. /// Unreadable characters are shown as hex-values. /// ANSI, /// /// The bytes symbolizes the current code page's ANSI characters. /// Unreadable characters are replaced with '?' which means that no conversion /// back from string to array is supported (due to data loss). /// CompactANSI, /// /// Put the bytes into a string using 1252 encoding /// String, /// /// Get raw bytes stuffed into a string back into a byte array /// Raw, #endregion } }