Liking cljdoc? Tell your friends :D

clj-mmap


get-bytesclj

(get-bytes mmap pos n)

get-mmapclj

(get-mmap filename)
(get-mmap filename map-mode)

Provided a filename, mmap the entire file, and return an opaque type to allow further access. Remember to use with-open, or to call .close, to clean up memory and open file descriptors.

Provided a filename, mmap the entire file, and return an opaque type to allow further access.
Remember to use with-open, or to call .close, to clean up memory and open file descriptors.
raw docstring

loaded?clj

(loaded? mmap)

put-bytesclj

(put-bytes mmap buf pos)
(put-bytes mmap buf pos n)

Write n bytes from buf into mmap, at byte position pos. If n isn't provided, the size of the buffer provided is used.

Write n bytes from buf into mmap, at byte position pos.
If n isn't provided, the size of the buffer provided is used.
raw docstring

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

× close