Get string byte length same as file length in Clojure
code:clojure
(.length (clojure.java.io/file "project.clj"))
;; => 3328
(alength (.getBytes (slurp (clojure.java.io/file "project.clj"))))
;; => 3328
#Clojure