Skip to content

Conversation

@slawomir-pryczek
Copy link

No description provided.

@sc0Vu sc0Vu self-requested a review September 13, 2023 09:25
Copy link
Member

@sc0Vu sc0Vu left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution, I leave some comments. Let me know if you have other questions.

}
throw new InvalidArgumentException('The input type didn\'t support.');
}
protected function encodeInput($input, $type = false)
Copy link
Member

Choose a reason for hiding this comment

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

Should we submit another PR for this feature?

switch ($encoding) {
case 'hex':
// fixed length hex
case 'hex_fixed':
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch. How about use type instead of hex_fixed here?

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