kaitai_struct
kaitai_struct copied to clipboard
`to_s` should be available for all the struct types with `to-string` implemented
Just allow to call to_s
on custom types is not possible, because <kaitai-object>.to_s
means access to to_s
field/instance of an object. Some other syntax is required to calling to_s
, probably a special operator for that?