Skip to content
forked from thebusby/clj-mmap

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

License

Notifications You must be signed in to change notification settings

Cantido/clj-mmap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 100.0%