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

Update message and Utils packages #128

Merged
merged 4 commits into from
Jan 24, 2022
Merged

Update message and Utils packages #128

merged 4 commits into from
Jan 24, 2022

Conversation

peterdonald3
Copy link
Collaborator

updated message package to correct suspect function and replace logic from #124

NOTE: original logic:
checked if it wasn't ',' and if wasn't ' ' but ',' isn't ' ' and vice versa so criteria was always true.

New Logic:
Checks if byte is in slice of bytes, therefore checking if byte is either of the excepted bytes. If not true then criteria met
and logic runs.

Also added util function and test function for ContainsByte().
Designed to check if byte is in slice of byte.

peterdonald3 and others added 4 commits January 23, 2022 15:43
NOTE: original logic:
checked if it wasn't ',' and
if wasn't ' ' but ',' isn't ' ' and vice versa

New Logic:
Checks if byte is in slice of bytes. If not true then criteria met
and logic runs.

added util function for ContainsByte(). Designed to check if byte is in slice
of byte.
@hyperioxx hyperioxx merged commit 08b0047 into hyperioxx:master Jan 24, 2022
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