Liking cljdoc? Tell your friends :D

clj-mmap

A Clojure library designed to allow you to easily mmap files via Java's NIO, and to handle files larger than 2GB.

Clojars Project Build Status

Usage

(with-open [mapped-file (clj-mmap/get-mmap "/tmp/big_file.txt")]
  (let [some-bytes (clj-mmap/get-bytes mapped-file 0 30)]
    (println (str "First 30 bytes of file, '" (String. some-bytes "UTF-8") "'"))))

License

Licensed under the MIT license.

Copyright (C) 2012-2013 Alan Busby

Can you improve this documentation? These fine people already did:
Alan Busby & Bobby Richter
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close