pub fn read_pdu( buf: impl Buf, max_pdu_length: u32, strict: bool, ) -> Result<Option<Pdu>>
Read a PDU from the given byte buffer.