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

UNHEX now returns []byte #619

Merged
merged 3 commits into from
Nov 11, 2021
Merged

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Nov 11, 2021

Tests have been adjusted to reflect this change
Added another case in function_test for []byte

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

tf.AddSucceeding("\x8f", "8F")
tf.AddSucceeding("\x8f", "8f")
tf.AddSucceeding("\x0b", "B")
tf.AddSucceeding([]byte{0x4d, 0x79, 0x53, 0x51, 0x4c}, "4D7953514C")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably easiest to just []byte() on the string of hex value, rather than using the ascii code points here

@jycor jycor merged commit 93ac2bb into main Nov 11, 2021
@Hydrocharged Hydrocharged deleted the james/fix-618-unhex-return-type-is-wrong branch December 8, 2021 07:11
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.

2 participants