Skip to content

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented Apr 3, 2024

Adds a method to emulate MySQL UNHEX() function.

UNHEX(str) interprets each pair of characters in the argument as a hexadecimal number and converts it to the byte represented by the number. The return value is a binary string.

https://dev.mysql.com/doc/refman/8.3/en/string-functions.html#function_unhex

@adamziel adamziel merged commit 95b1fc4 into main Apr 3, 2024
@aristath aristath deleted the function-unhex branch April 4, 2024 08: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.

1 participant