NOTE: These autogen pages are still under development. Not all links work. Not all formatting is done. Contact Tom Faulhaber (tomfaulhaber on github, gmail, etc.) with any questions.

API for mmap

by Chris Houser

Usage:
(ns your-namespace
  (:require 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
Usage: (buffer-stream buf)
Returns an InputStream for a ByteBuffer, such as returned by mmap.
Source


mmap

function
Usage: (mmap f)
Memory-map the file named f.  Returns a ByteBuffer.
Source


slurp

function
Usage: (slurp f)
Reads the file named by f and returns it as a string.
Source
Logo & site design by Tom Hickey.