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


copy-to-buffer!clj

(copy-to-buffer! b buffer offset)

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
raw 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
raw docstring

put-buffer!clj

(put-buffer! b offset buffer)

sliceclj

(slice b offset size)

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

× close