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}
};
3 回答1.3k 阅读✓ 已解决
1 回答1.1k 阅读✓ 已解决
4 回答859 阅读
1 回答929 阅读
1 回答965 阅读
1 回答730 阅读
1 回答832 阅读
C语言的通配符, 是字符串通配符
*代表0个或多个字符,?代表一个字符
你问题中是是干啥, 完全不是一码事