public synchronized void reset ( ) { ensureOpen ( ) ; encodedBuf . clear ( ) ; if ( decodedBuf . capacity ( ) > FilteredConstants . DEFAULT_DECODER_CAPACITY ) { this . decodedBuf = CharBuffer . allocate ( FilteredConstants . DEFAULT_DECODER_CAPACITY ) ; } else { decodedBuf . clear ( ) ; } decoder . reset ( ) ; }
Resets the state of this stream s decoders and buffers .