ByteArrayEncoder
MySQL-specific ValueEncoder for ByteArray.
Encodes the byte array as a MySQL hexadecimal literal (X'HH..'), wrapped in SqlRawLiteral so the statement renderer emits it verbatim without re-quoting. MySQL treats X'HH..' as a binary string, so it works as a parameter for BINARY, VARBINARY, BLOB, and comparisons against them.
Decodes a MySQL binary/hex column into a ByteArray by parsing the hex text.