Returns a byte array object with any buffered output from the specified response object.
Syntax
toByteArray( response )
response.toByteArray( )
Parameters
response
|
the response object to use.
|
Returns
bytearray
|
containing any output in the output buffer.
|
Notes
This method is only accessible by ss and by iScript Servlet.
This method can only be used if output is being buffered. An exception will occur if this method is used and output is not being buffered.
Example
ba = Response( ).toByteArray( )
|