| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Cross-platform hex {en,de}coding.
jvm, node + npm, clj, shadow-cljs
{nuid/hex {:git/url "https://github.com/nuid/hex" :sha "..."}}
$ clj # or shadow-cljs node-repl => (require '[nuid.hex :as hex]) => (def h (hex/encode "🐴")) ;; defaults to reading input as utf8 => h ;; => "f09f90b4" => (hex/decode h) ;; => array-like: [240 159 144 180] (endianness may vary) => (hex/str h) ;; => "🐴" => (hex/str h :charset/utf16le) ;; => "鿰뒐"
Apache v2.0 or MIT
| Back | FazBrowse Home | New Git URL |