Class ByteProcessor.IndexOfProcessor

    • Constructor Detail

      • IndexOfProcessor

        public IndexOfProcessor​(byte byteToFind)
    • Method Detail

      • process

        public boolean process​(byte value)
        Specified by:
        process in interface ByteProcessor
        Returns:
        true if the processor wants to continue the loop and handle the next byte in the buffer. false if the processor wants to stop handling bytes and abort the loop.