def container(self, name, length, type, *parameters):
        """Define a container with given length.

        This is a convenience method creating a `Struct` with `length` containing fields defined in `type`.
        """
        self.new_struct('Container', name, 'length=%s' % length)
        BuiltIn().run_keyword(type, *parameters)
        self.end_struct()
Define a container with given length.

        This is a convenience method creating a `Struct` with `length` containing fields defined in `type`.