1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#[derive(Debug, Clone, PartialEq)]
pub enum Value {
Bool(bool),
Byte(u8),
I8(i8),
I16(i16),
I32(i32),
I64(i64),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
F32(f32),
F64(f64),
String(String),
U8Array(Vec<u8>),
U16Array(Vec<u16>),
Bit1(bool),
Bit2(bool),
Bit3(bool),
Bit4(bool),
Bit5(bool),
Bit6(bool),
Bit7(bool),
Bit8(bool),
Raw(Vec<u8>),
}