Call getOutputStream() to get an output stream object.
Call getOutputStream() to get an output stream object.
Write the byte array calculated in step 5 onto the stream.
Close the output stream.
Call getInputStream() to get an input stream object. Read and write it as usual.
Previous slide
Next slide
Back to first slide
View graphic version