Class ShiftAndByteBufferMatcher

  • All Implemented Interfaces:
    ByteBufferMatcher

    public class ShiftAndByteBufferMatcher
    extends java.lang.Object
    implements ByteBufferMatcher
    ByteBuffer matcher based on shift-and algorithm
    • Field Detail

      • b

        private int[] b
      • mask

        private int mask
      • patternLimit

        private int patternLimit
      • patternPos

        private int patternPos
      • patternLen

        private int patternLen
    • Constructor Detail

      • ShiftAndByteBufferMatcher

        public ShiftAndByteBufferMatcher​(IoBuffer pat)