Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | IO Folder | Summary of Elements in this Folder | pub.io:streamToBytes
 
pub.io:streamToBytes
WmPublic. Creates a byte[ ] from data that is read from an InputStream.
Input Parameters
stream
java.io.InputStream The InputStream that you want to convert.
Output Parameters
bytes
byte[ ]The bytes read from stream.
Usage Notes
This service reads all of the bytes from stream until the end of file is reached, and then it closes the InputStream.