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