def pdu(self, length):
self._add_field(PDU(length))<EOL>
Defines the message in protocol template.

        Length must be the name of a previous field in template definition or a
        static value for fixed length protocols.

        Examples:
        | pdu | 5 |

        | u8  | length |
        | pdu | length - 1 |