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

(fix) fixed formation and alignment in hexdump #28

Merged
merged 1 commit into from Sep 18, 2015
Merged

(fix) fixed formation and alignment in hexdump #28

merged 1 commit into from Sep 18, 2015

Conversation

sunng87
Copy link
Contributor

@sunng87 sunng87 commented Sep 18, 2015

This patch fixes formation issue when bytes aren't zero-filled.

Before:

            +--------------------------------------------------+
            | 0  1  2  3  4  5  6  7   8  9  a  b  c  d  e  f  |
 +----------+--------------------------------------------------+------------------+
 | 00000000 | 08 00 10 01 1a 05 61 6b  34 37 38 22 04 61 6b 34 | ......ak478".ak4 | 
 | 00000010 | 37 4a 06 74 65 73 74 2f  30 6a 01 31 6a 01 32 6a | 7J.test/0j.1j.2j | 
 | 00000020 | 01 33 |               .3 | 
 +----------+--------------------------------------------------+------------------+

After:

            +--------------------------------------------------+
            | 0  1  2  3  4  5  6  7   8  9  a  b  c  d  e  f  |
 +----------+--------------------------------------------------+------------------+
 | 00000000 | 08 00 10 01 1a 05 61 6b  34 37 38 22 04 61 6b 34 | ......ak478".ak4 | 
 | 00000010 | 37 4a 06 74 65 73 74 2f  30 6a 01 31 6a 01 32 6a | 7J.test/0j.1j.2j | 
 | 00000020 | 01 33                                            | .3               | 
 +----------+--------------------------------------------------+------------------+

@ifesdjeen
Copy link
Member

Perfect! 👍 🎆

ifesdjeen added a commit that referenced this pull request Sep 18, 2015
(fix) fixed formation and alignment in hexdump
@ifesdjeen ifesdjeen merged commit c8415af into clojurewerkz:master Sep 18, 2015
@ifesdjeen
Copy link
Member

@sunng87 new version (1.0.2) with this fix is on Clojars!

@sunng87
Copy link
Contributor Author

sunng87 commented Sep 18, 2015

Thanks for your quick response!

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

Successfully merging this pull request may close these issues.

None yet

2 participants