class_docstr: An example wrapped struct class
class_docstr_tok: ["An","example","wrapped","struct","class"]
code: def default_structarr(klass, endianness=None):
      structarr = super().default_structarr(endianness)
      structarr["an_integer"] = 1
      structarr["a_str"] = b"a string"
      return structarr
  
imports: import logging
  from io import BytesIO, StringIO
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from ..None import imageglobals
  from ..batteryrunners import Report
  from ..casting import sctypes
  from ..spatialimages import HeaderDataError
  from ..volumeutils import Recoder, native_code, swapped_code
  from ..wrapstruct import LabeledWrapStruct, WrapStruct, WrapStructError
label_desc: Use image node_id 2 for calling the MyWrapStruct obj's underlying member method code with example usage: obj.default_structarr(klass, endianness) and returns: structarr