We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e32646c commit 396ce62Copy full SHA for 396ce62
src/core.rs
@@ -29,7 +29,10 @@ pub mod major {
29
pub const SIMPLE: u8 = 7;
30
}
31
32
-pub(crate) mod marker {
+/// Markers needed to parse sub types.
33
+/// The `START` marker can be combined with major types 2, 3, 4 and 5.
34
+/// The other values are full bytes representing the major type 7 sub-types.
35
+pub mod marker {
36
pub const START: u8 = 0x1f;
37
pub const FALSE: u8 = 0xf4; // simple(20)
38
pub const TRUE: u8 = 0xf5; // simple(21)
0 commit comments