| ExtensionsTryEncode Method |
Tries to encode a byte array to a string by detecting its encoding.
It will try to detect the encoding for for UTF-7, UTF-8/16/32 (bom, no bom, little and
big endian), and local default codepage, and potentially other codepages.
Namespace:
Cauldron
Assembly:
Cauldron (in Cauldron.dll) Version: 3.2.0.2
Syntax Examples var text = Assemblies.GetManifestResource("embedded-text.txt").TryEncode();
See Also