Writes the given value and returns the number of bytes written to the specified response object.
Syntax
write( response , byte )
response.write( byte )
write( response , bytearray )
response.write( bytearray )
write( response , string )
response.write( string )
write( response , bytearray , offset , length )
response.write( bytearray , offset , length )
write( response , string , offset , length )
response.write( string , offset , length )
Parameters
response
|
the response object to use.
|
bytearray
|
the byte array object write.
|
string
|
the string to write.
|
offset
|
a starting offset.
|
length
|
the number of bytes to write.
|
Returns
Notes
This method is only accessible by ss and by iScript Servlet.
Example
Response( ).write( buf )
|