接口 DataBufferUtils.Matcher

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      byte[]delimiter()
      Return the delimiter from the last invocation of match(DataBuffer).
      intmatch​(DataBuffer dataBuffer)
      Find the first matching delimiter and return the index of the last byte of the delimiter, or -1 if not found.
      voidreset()
      Reset the state of this matcher.
    • 方法详细资料

      • match

        int match​(DataBuffer dataBuffer)
        Find the first matching delimiter and return the index of the last byte of the delimiter, or -1 if not found.
      • reset

        void reset()
        Reset the state of this matcher.