use Array.pack to constuct pdu body