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.