Integration Server 10.5 | Built-In Services Reference Guide | String Folder | Summary of Elements in this Folder | pub.string:bytesToString
 
pub.string:bytesToString
WmPublic. Converts a sequence of bytes to a String.
Input Parameters
bytes
byte[ ] Sequence of bytes to convert to a String.
encoding
String Optional. Name of a registered, IANA character set (for example, ISO-8859-1). If you specify an unsupported encoding, the system throws an exception.
To use the default encoding, set encoding to autoDetect.
ignoreBOMChars
String Optional. Flag indicating whether or not Integration Server removes the byte order mark (BOM) characters in the input sequence of bytes before converting the byte array to string. Set to:
*true to remove the byte order mark (BOM) characters before converting the input sequence of bytes to string, if the byte array contains BOM characters.
*false to include the byte order mark (BOM) characters while converting the input sequence of bytes to string. The default is false.
Output Parameters
string
String String representation of the contents of bytes.