@staticmethod
def unpack(reader):
    obj = write_actions()
    _type = reader.read('!H')[0]
    assert (_type == 3)
    _len = reader.read('!H')[0]
    orig_reader = reader
    reader = orig_reader.slice(_len, 4)
    reader.skip(4)
    obj.actions = loxi.generic_util.unpack_list(reader, ofp.action.action.unpack)
    return obj
@staticmethod
def unpack(reader):
    obj = write_actions()
    _type = reader.read('!H')[0]
    assert (_type == 3)
    _len = reader.read('!H')[0]
    orig_reader = reader
    reader = orig_reader.slice(_len, 4)
    reader.skip(4)
    obj.actions = loxi.generic_util.unpack_list(reader, ofp.action.action.unpack)
    return obj