def METHOD_NAME(gadget):
    hdtype_padded = numpy.dtype([
                                 ('header', gadget.dtype),
                                 ('padding', ('u1', 256 - gadget.dtype.itemsize))])
    data = numpy.zeros((), dtype=hdtype_padded)
    data['header'] = gadget
    assert data.dtype.itemsize == 256
    return data