uint8_t pattern[] = { 0x73, 0x3A, 0x??, 0x??, 0x??, 0x??, 0x20 };
直接说是无效的十六进制数
uint8_t pattern[] = { 0x73, 0x3A, 0x??, 0x??, 0x??, 0x??, 0x20 };
直接说是无效的十六进制数
#include <stdint.h>
typedef struct {
uint8_t value;
int is_wildcard;
} PatternByte;
PatternByte pattern[] = {
{0x73, 0},
{0x3A, 0},
{0x00, 1}, // ?? replaced with 0x00 and is_wildcard set to 1
{0x00, 1}, // ?? replaced with 0x00 and is_wildcard set to 1
{0x00, 1}, // ?? replaced with 0x00 and is_wildcard set to 1
{0x00, 1}, // ?? replaced with 0x00 and is_wildcard set to 1
{0x20, 0}
};
2 回答1.7k 阅读✓ 已解决
2 回答1k 阅读✓ 已解决
1 回答1.6k 阅读✓ 已解决
1 回答1.1k 阅读✓ 已解决
1 回答935 阅读
1 回答1.1k 阅读
2 回答1.1k 阅读
C语言的通配符, 是字符串通配符
*代表0个或多个字符,?代表一个字符
你问题中是是干啥, 完全不是一码事