# File lib/rchardet/utf8prober.rb, line 49
    def feed(aBuf)
      aBuf.each_byte do |b|
        c = b.chr
        codingState = @_mCodingSM.next_state(c)
        if codingState == EError
          @_mState = ENotMe
          break
        elsif codingState == EItsMe
          @_mState = EFoundIt
          break
        elsif codingState == EStart
          if @_mCodingSM.get_current_charlen() >= 2
            @_mNumOfMBChar += 1
          end
        end
      end

      if get_state() == EDetecting:
        if get_confidence() > SHORTCUT_THRESHOLD
          @_mState = EFoundIt
        end
      end

      return get_state()
    end