public ByteBuffer reset ( ByteBuffer input ) { ByteBuffer old = this . input ; this . input = checkNotNull ( input , "input ByteBuffer is null" ) . slice ( ) ; isRead = false ; return old ; }
Reset buffer .