-
Notifications
You must be signed in to change notification settings - Fork 19
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
Incorrect spacing on last line of output #24
Comments
Also - actually, I think this is what this issue is - is that the So I would expect the last few lines to look like this instead:
|
Thanks for the issue!
Are you debugging this btw? |
@rom-p would you mind having a quick look at this, and let me know if you have ideas concerning a fix? It' seems like this was introduced with your endianness and performance tuning changes, and I'm having a bit of trouble wrapping my head around it. It looks to me like the the the "groups" (in this case of two bytes) are always treated as a unit, so a 2 byte group consisting of a single byte is considered incomplete and left padded with zero's. This would be ok when looking at a bunch of 16-bit values, but doesn't work out for individual bytes. |
Yeah, I'm getting the feeling I jumped the gun with that merge request. I personally don't see the benefit in a hex viewer reformatting the order of the bytes. But the original contributor put a lot of effort into the patches and tests. If I don't hear from them I guess I'll throw the little endian stuff out. It might take me a couple of days to clean things up. You can use version 0.3.2 if you're don't need little endian or anything crazy and want to avoid the issue... |
Hey there, If I print a string:
it prints:
Notice how the ASCII part of the last line (
48.000+0545"}
) is misaligned by a few characters.I would expect it to look like this:
The text was updated successfully, but these errors were encountered: