ImHex-Patterns icon indicating copy to clipboard operation
ImHex-Patterns copied to clipboard

[documentation] std::core::set_endian only applies to current and higher contexts

Open mandar1jn opened this issue 9 months ago • 2 comments

The current documentation states:

Any patterns created following this attribute will be created using the set endianness.

I interpreted this as meaning that the function sets the endianness for the global scope. However, when entering a lower scope then where the function was called, the endianness will return to what it was previously.

mandar1jn avatar May 10 '24 12:05 mandar1jn

Can you provide some example patterns that showcase the actual behavior you are describing? Sounds useful to better describe this behavior in the docs.

C3pa avatar Jul 10 '24 18:07 C3pa

I’ll see what I can do this morning.

mandar1jn avatar Jul 12 '24 22:07 mandar1jn