presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoPreparedStatement.java/PrestoPreparedStatement/formatBinaryLiteral
class PrestoPreparedStatement:    private static String formatBinaryLiteral(byte[] x)
    {
        return "X'" + base16().encode(x) + "'";
    }