Liking cljdoc? Tell your friends :D

clunk.vendor.binf.buffer

Buffers are the platform representation of a byte array which can be wrapped in a view and manipulated by using the core clunk.vendor.binf namespaces. They represent a raw, fixed-size chunk of memory.

On the JVM, a buffer is indeed a byte-array.

In JS, it is either a js/ArrayBuffer or its sibling js/SharedArrayBuffer.

Buffers are the platform representation of a byte array which can be wrapped in a view
and manipulated by using the core `clunk.vendor.binf` namespaces. They represent a raw, fixed-size
chunk of memory.

On the JVM, a buffer is indeed a `byte-array`.

In JS, it is either a `js/ArrayBuffer` or its sibling `js/SharedArrayBuffer`.
raw docstring

clunk.vendor.binf.int

Handling integers (maximum 32-bits), miscellaneous coercions.

64-bit integers are handled in clunk.vendor.binf.int64.

Handling integers (maximum 32-bits), miscellaneous coercions.

64-bit integers are handled in `clunk.vendor.binf.int64`.
raw docstring

clunk.vendor.binf.protocol

Protocols related to views.

This namespace should be relevant only if a new type needs to implement those. The common user should not have to bother.

Those functions are described in the core clunk.vendor.binf namespace as well as in the README file.

Depending on the type, not all protocols must be implemented. For instance, a stream-like type might not be seekable and might implement only IRelative* protocols and not IAbsolute* ones.

Protocols related to views.

This namespace should be relevant only if a new type needs to implement those. The common user
should not have to bother.

Those functions are described in the core `clunk.vendor.binf` namespace as well as in the README file.

Depending on the type, not all protocols must be implemented. For instance, a stream-like type
might not be seekable and might implement only `IRelative*` protocols and not `IAbsolute*` ones.
raw docstring

clunk.vendor.binf.string

Decoding a string directly to a buffer and vice-versa.

Decoding a string directly to a buffer and vice-versa.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close