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
The pub.io:streamToBytes service reads all of the bytes in the input stream, and then closes the input stream.