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.
(copy-to-buffer! b buffer offset)
(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
(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
(put-buffer! b offset buffer)
(slice b offset size)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close