code: def decode_header(h):
      """Decode a byte array into an array header."""
      h = np.frombuffer(h, dtype="i8")
      if unstr64(h[0]) not in short_to_long:
          raise ValueError("unsupported array type")
      dtype = np.dtype(short_to_long[unstr64(h[0])])
      info = unstr64(h[1])
      rank = int(h[2])
      shape = tuple(h[3 : 3 + rank])
      return shape, dtype, info
  
imports: import struct
  import sys
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: decode_header(h) and returns: shape,  dtype,  info