仿strstr()搜索指定子数组
仿strstr()搜索指定子数组
uint8_t* memstr(const uint8_t * buf1, const uint8_t * buf2,unsigned int buf1len, unsigned int count) {
unsigned int i = 0;
for (i = 0; i < buf1len- count; i++) {
if (memcmp(buf...
原创
2019-01-02 19:03:11 ·
506 阅读 ·
0 评论