docstr: Return structured array for default structure with given endianness
docstr_tok: ["Return","structured","array","for","default","structure","with","given","endianness"]
code: def default_structarr(klass, endianness=None):
      """Return structured array for default structure with given endianness"""
      dt = klass.template_dtype
      if endianness is not None:
          endianness = endian_codes[endianness]
          dt = dt.newbyteorder(endianness)
      return np.zeros((), dtype=dt)
  
imports: from __future__ import annotations
  import numpy
  from .None import imageglobals
  from .batteryrunners import BatteryRunner
  from .volumeutils import Recoder, endian_codes, native_code, pretty_mapping, swapped_code
label_desc: Use image node_id 19 for calling the WrapStruct obj's underlying member method code with example usage: obj.default_structarr(klass, endianness) and returns: np