def uint(self, length, name, value=None, align=None):
        """Add an unsigned integer to template.

        `length` is given in bytes and `value` is optional. `align` can be used
        to align the field to longer byte length.

        Examples:
        | uint | 2 | foo |
        | uint | 2 | foo | 42 |
        | uint | 2 | fourByteFoo | 42 | align=4 |
        """
        self._add_field(UInt(length, name, value, align=align))