Liking cljdoc? Tell your friends :D

fress.impl.buffer


BufferReadercljs

source

BufferWritercljs

used on fixed size buffers

used on fixed size buffers
sourceraw docstring

byte-streamcljs

(byte-stream)
source

BytesOutputStreamcljs

Backed by a plain array, 'BytesOutputStream' grows as bytes are written, is only realized into an byte-array when close() is called.

In future can use ArrayBuffer.transfer()

Backed by a plain array, 'BytesOutputStream' grows as bytes are written,
is only realized into an byte-array when close() is called.

In future can use ArrayBuffer.transfer()
sourceraw docstring

IBuffercljsprotocol

getBytescljs

(getBytes this off length)

resetcljs

(reset this)

closecljs

(close this)

getBytecljs

(getByte this index)
source

IBufferReadercljsprotocol

readSignedBytecljs

(readSignedByte this)

notifyBytesReadcljs

(notifyBytesRead this count)

readUnsignedBytescljs

(readUnsignedBytes this length)

return unsigned byte view on memory

return unsigned byte view on memory

readSignedBytescljs

(readSignedBytes this length)

return signed byte view on memory

return signed byte view on memory

readUnsignedBytecljs

(readUnsignedByte this)

getBytesReadcljs

(getBytesRead this)
source

IBufferWritercljsprotocol

-writeBytecljs

(-writeByte this byte)

notifyBytesWrittencljs

(notifyBytesWritten this count)

writeBytescljs

(writeBytes this bytes)
(writeBytes this bytes offset length)

getFreeCapacitycljs

(getFreeCapacity this)

remaining free bytes to write

remaining free bytes to write

getBytesWrittencljs

(getBytesWritten this)

room?cljs

(room? this length)

writeBytecljs

(writeByte this byte)
source

IStreamingWritercljsprotocol

wrapcljs

(wrap this out)
(wrap this out offset)

The new buffer will be backed by the given byte array; that is, modifications to the buffer will cause the array to be modified and vice versa.

The new buffer will be backed by the given byte array; that is,
modifications to the buffer will cause the array to be modified and vice versa.

flushTocljs

(flushTo this out)
(flushTo this out offset)

write bytes to externally provided arraybuffer source at the given offset

write bytes to externally provided arraybuffer source at the given offset

toByteArraycljs

(toByteArray this)

get byte-array of current buffer contents. does not close.

get byte-array of current buffer contents. does not close.
source

readable-buffercljs

(readable-buffer backing)
(readable-buffer backing backing-offset)
source

with-capacitycljs

(with-capacity n)
source

writable-buffercljs

(writable-buffer)
(writable-buffer backing)
(writable-buffer backing backing-offset)
source

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

× close