Integration Server 10.3 | Built-In Services Reference Guide | IO Folder | Summary of Elements in this Folder | pub.io:stringToStream
 
pub.io:stringToStream
WmPublic. Converts a string to a byte stream.
Input Parameters
string
String The string object to be converted.
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. If no value is specified or if the encoding is set to autoDetect, the default operating system encoding is used.
Output Parameters
inputStream
java.io.ByteArrayInputStream An open InputStream created from the contents of string.