Hybrid Integration 10.2 | Integrating On-Premises Applications | Integration Server Built-In Services | String Folder | pub.string:stringToBytes
 
pub.string:stringToBytes
WmPublic. Converts a string to a byte array.
Input Parameters
string
String String to convert to a byte[ ].
encoding
String Optional. Name of a registered, IANA character set that specifies the encoding to use when converting the String to an array of bytes (for example: ISO-8859-1).
To use the default encoding, set this value to autoDetect. If you specify an unsupported encoding, an exception will be thrown.
Output Parameters
bytes
byte[ ] Contents of string represented as a byte[ ].

Copyright © 2015- 2018 | 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.
Innovation Release