kaitai_struct icon indicating copy to clipboard operation
kaitai_struct copied to clipboard

`to_s` should be available for all the struct types with `to-string` implemented

Open KOLANICH opened this issue 2 years ago • 1 comments

KOLANICH avatar Jul 25 '22 19:07 KOLANICH

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?

Mingun avatar Apr 13 '24 18:04 Mingun