question: public void reset ( ) throws IOException { drain ( ) ; output . writeByte ( TC_RESET ) ; resetState ( ) ; }
target:  Resets the state of this stream. A marker is written to the stream, so that the corresponding input stream will also perform a reset at the same point. Objects previously written are no longer remembered, so they will be written again (instead of a cyclical reference) if found in the object graph.