'Take a byte buffer of a Brig module'

def __init__(self, brig_buffer):

    buf = ctypes.create_string_buffer(brig_buffer)
    self._buffer = buf
    self._id = ctypes.cast(ctypes.addressof(buf), drvapi.hsa_ext_module_t)
