Liking cljdoc? Tell your friends :D

asami.durable.block.bufferblock

Abstraction for blocks of raw data, keyed by ID. IDs represent the offset of the block.

Abstraction for blocks of raw data, keyed by ID. IDs represent the offset of the block.
raw docstring

BufferBlockclj

source

copy-to-buffer!clj

(copy-to-buffer! b buffer offset)
source

create-blockclj

(create-block id size byte-offset byte-buffer)
(create-block id
              size
              byte-offset
              byte-buffer
              ro-byte-buffer
              int-buffer
              long-buffer)

Wraps provided buffers as a block

Wraps provided buffers as a block
sourceraw docstring

get-source-bufferclj

(get-source-buffer {:keys [ro bb]})
(get-source-buffer b offset length)

Returns a read-only ByteBuffer for the block

Returns a read-only ByteBuffer for the block
sourceraw docstring

put-buffer!clj

(put-buffer! b offset buffer)
source

sliceclj

(slice b offset size)
source

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

× close