webMethods Integration Cloud and Cloud Deployment Documentation 5.6.0 | webMethods Integration Cloud | Integrations, Built-In Services, REST APIs, SOAP APIs, Doc Types, and Recipes | Built-In Services | String | 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.

Copyright © 2014- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.