Liking cljdoc? Tell your friends :D

thi.ng.dstruct.streams


as-data-urlcljs

(as-data-url stream)
(as-data-url stream mime)

Takes an input or outputstream and optional mime type, returns contents as data url wrapped in a volatile. The volatile's value is initially nil and will only become realized after the function returned.

Takes an input or outputstream and optional mime type, returns
contents as data url wrapped in a volatile. The volatile's value is
initially nil and will only become realized after the function
returned.
raw docstring

as-data-url-asynccljs

(as-data-url-async stream cb)
(as-data-url-async stream cb mime)

Takes an input or outputstream, callback fn and optional mime type, calls fn with data url string, returns nil.

Takes an input or outputstream, callback fn and optional mime
type, calls fn with data url string, returns nil.
raw docstring

byte->intclj

(byte->int x)

ensure-readableclj


ensure-sizeclj


IBufferclj/sprotocol

get-byte-bufferclj/s

(get-byte-buffer _)

get-double-bufferclj/s

(get-double-buffer _)

get-float-bufferclj/s

(get-float-buffer _)

get-int-bufferclj/s

(get-int-buffer _)

get-short-bufferclj/s

(get-short-buffer _)

IInputStreamclj/sprotocol

read-double-beclj/s

(read-double-be _)

read-vec3f-leclj/s

(read-vec3f-le _)

read-uint32-beclj/s

(read-uint32-be _)

read-uint8clj/s

(read-uint8 _)

read-vec3f-beclj/s

(read-vec3f-be _)

read-uint32-leclj/s

(read-uint32-le _)

read-vec2f-leclj/s

(read-vec2f-le _)

read-vec2f-beclj/s

(read-vec2f-be _)

read-double-leclj/s

(read-double-le _)

read-uint16-beclj/s

(read-uint16-be _)

read-uint16-leclj/s

(read-uint16-le _)

read-float-leclj/s

(read-float-le _)

read-float-beclj/s

(read-float-be _)

read-utf8-lineclj/s

(read-utf8-line _)

IIntoBufferclj/sprotocol

into-byte-bufferclj/s

(into-byte-buffer _ dest stride idx)

into-double-bufferclj/s

(into-double-buffer _ dest stride idx)

into-float-bufferclj/s

(into-float-buffer _ dest stride idx)

into-int-bufferclj/s

(into-int-buffer _ dest stride idx)

into-short-bufferclj/s

(into-short-buffer _ dest stride idx)

input-streamclj/s≠

clj
(input-stream in)
cljs
(input-stream buf)
(input-stream buf pos)

InputStreamWrappercljs


int->byteclj

(int->byte x)

IOutputStreamclj/sprotocol

write-utf8-bytesclj/s

(write-utf8-bytes _ str)

write-uint16-beclj/s

(write-uint16-be _ x)

write-uint16-leclj/s

(write-uint16-le _ x)

write-uint32-beclj/s

(write-uint32-be _ x)

write-vec3f-leclj/s

(write-vec3f-le _ v)

write-vec3f-beclj/s

(write-vec3f-be _ v)

write-double-beclj/s

(write-double-be _ x)

write-uint8clj/s

(write-uint8 _ x)

write-float-beclj/s

(write-float-be _ x)

write-float-leclj/s

(write-float-le _ x)

write-uint32-leclj/s

(write-uint32-le _ x)

write-vec2f-beclj/s

(write-vec2f-be _ v)

write-double-leclj/s

(write-double-le _ x)

write-vec2f-leclj/s

(write-vec2f-le _ v)

IStreamPositionclj/sprotocol

get-positionclj/s

(get-position _)

skipclj/s

(skip _ x)

output-streamclj/s≠

clj
(output-stream out)
cljs
(output-stream)
(output-stream size)
(output-stream buf pos)

OutputStreamWrappercljs


utf8-strcljs

(utf8-str str)

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

× close