(defn mmap "Memory-map the file named f. Returns a ByteBuffer." [f] (let [channel (.getChannel (FileInputStream. f))] (.map channel READ_ONLY 0 (.size channel))))
Comments top
No comments for mmap. Log in to add a comment.