Qap is a quick parser/matcher for string or buffer patterns ( optimized for pattern lengths <= 255 bytes ).