code: def pack(self, pk, dat):
      dat = list(struct.unpack("Q" * (len(dat) // 8), dat))
      for k, v in aneregs:
          by, bi, sz = v
          bi += (by % 8) * 8
          by //= 8
          dat[by] &= ~(((1 << sz) - 1) << bi)
          dat[by] |= pk[k] << bi
      dat = struct.pack("Q" * len(dat), *dat)
      return dat
  
imports: from pathlib import Path
  from ctypes import *
  import json
  import collections
  import numpy
  import faulthandler
  import struct
label_desc: Use image node_id 6 for calling the ANE obj's underlying member method code with example usage: obj.pack(pk, dat) and returns: dat