Integration Cloud 6.6.0 | Built-In Services | Built-In Services | bytesToString
 
bytesToString
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 the byte order mark (BOM) characters in the input sequence of bytes are removed 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.