API for mmap - clojure-contrib v1.3 (in development)

by Chris Houser

clojure-contrib is now deprecated

clojure-contrib is no longer being developed or maintained.

Rather than a single, monolithic, contributions library, Clojure now has a set of separate libraries for each unit of functionality. The libraries are in the Clojure GitHub organization at https://github.com/clojure. API documentation of the libraries can be found at https://clojure.github.io.

If you're looking for a specific function or namespace from the old clojure-contrib, see "Where Did Clojure.Contrib Go".


Full namespace name: clojure.contrib.mmap

Overview

Functions for memory-mapping files, plus some functions that use a
mmaped file for "normal" activies -- slurp, load-file, etc.

Public Variables and Functions



buffer-stream

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (buffer-stream buf)
Returns an InputStream for a ByteBuffer, such as returned by mmap.
Source


mmap

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (mmap f)
Memory-map the file named f.  Returns a ByteBuffer.
Source


slurp

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (slurp f)
Reads the file named by f and returns it as a string.
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.