Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mandar1jn opened this issue May 10, 2024 · 2 comments

Comments

@mandar1jn
Copy link
Contributor

mandar1jn commented May 10, 2024

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.

@C3pa
Copy link
Contributor

C3pa commented Jul 10, 2024

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

@mandar1jn
Copy link
Contributor Author

I’ll see what I can do this morning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants