# File lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/codingstatemachine.rb, line 42
    def next_state(c)
      # for each byte we get its class
      # if it is first byte, we also get byte length
      byteCls = @_mModel['classTable'][c[0]]
      if @_mCurrentState == EStart
        @_mCurrentBytePos = 0
        @_mCurrentCharLen = @_mModel['charLenTable'][byteCls]
      end
      # from byte's class and stateTable, we get its next state
      @_mCurrentState = @_mModel['stateTable'][@_mCurrentState * @_mModel['classFactor'] + byteCls]
      @_mCurrentBytePos += 1
      return @_mCurrentState
    end