Created
November 10, 2018 00:10
-
-
Save jreighley/103de8202978c279e5e23efbcadfd6e4 to your computer and use it in GitHub Desktop.
Clojure EBCDIC to String
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn ebcdic-to-string | |
"takes an EBCDIC byte array and returns the corresponding string" | |
[bytearray] | |
(String. bytearray "cp500")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment