def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def create_class(length):
            class S(Structure):
                _fields_ = [('x' * length, c_int)]