encoder & decoder and some pdu's