"ff43" "0032" ... (you get the idea)
I want to use clojure's short form on them, but short expects an
authentic hex input, e.g.
(short 0xff43)
it will not accept something like (short "0xff43")
Any suggestions would be gratefully appreciated!!
user=> (map #(Integer/parseInt % 16) ["ff43" "0032"])
(65347 50)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
To unsubscribe, reply using "remove me" as the subject.