1 2 3 4 5 6 7 8
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct Header {
pub list: bool,
pub payload_length: usize,
}
pub const EMPTY_STRING_CODE: u8 = 0x80;
pub const EMPTY_LIST_CODE: u8 = 0xC0;
1 2 3 4 5 6 7 8
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct Header {
pub list: bool,
pub payload_length: usize,
}
pub const EMPTY_STRING_CODE: u8 = 0x80;
pub const EMPTY_LIST_CODE: u8 = 0xC0;