Integration Cloud 6.1.0 | Built-In Services | Built-In Services | streamToBytes
 
streamToBytes
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.