
    pub const fn new_standard(len: u8) -> Option<Self> {
        if len > Self::MAX_STD {
            None
        } else {
            Some(PayloadLength::Standard(len))
        }
    }

    pub const fn new_extended(len: u16) -> Option<Self> {