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

Implement endianness #35

Closed
Reokodoku opened this issue May 19, 2024 · 4 comments
Closed

Implement endianness #35

Reokodoku opened this issue May 19, 2024 · 4 comments
Labels
invalid This doesn't seem right

Comments

@Reokodoku
Copy link
Contributor

How about printing hexadecimal numbers based on the system endianness or the specified endianness when the --no-ascii flag is specified?

This can be useful.

@Arnau478
Copy link
Owner

How can it be beneficial? I don't get it...

@Reokodoku
Copy link
Contributor Author

If someone needs to see the "real" binary, it would be better to see it with the right endianness.

For example, someone could see if he had "written" with the correct endianness the magic number of the MBR.

Also, this could be used with the future --raw flag.

@Arnau478
Copy link
Owner

But there's no endianness here, it's all bytes... There's no byte ordering because there's no multi-byte data. Doing so would also require to know the start offset of the multi-byte integer, which is impossible to do for hevi.

@Arnau478
Copy link
Owner

I don't think this makes much sense. I don't get what you're trying to propose. If you want to explain a bit more about what this proposal is about, you're welcome to do so. Until then, I'll be closing this issue.

@Arnau478 Arnau478 added the invalid This doesn't seem right label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants