code: def _get_sample(cp, size, i, signed=True):
      fmt = _struct_format(size, signed)
      start = i * size
      end = start + size
      return struct.unpack_from(fmt, buffer(cp)[start:end])[0]
  
imports: import math
  import struct
  from ctypes import create_string_buffer
label_desc: Use image node_id 6 for calling a global function with example usage: _get_sample(cp, size, i, signed) and returns: struct