Liking cljdoc? Tell your friends :D

phlegyas.buffers

Raw get and put operations for 9P buffers. See INTRO(9P) for more information.

Raw get and put operations for 9P buffers. See INTRO(9P) for more information.
raw docstring

get-byteclj

(get-byte buffer)

Read a byte from the byte buffer.

Read a byte from the byte buffer.
sourceraw docstring

get-dataclj

(get-data buffer)

Read data[count] from the byte buffer.

Read data[count] from the byte buffer.
sourceraw docstring

get-intclj

(get-int buffer)

Read an integer from the byte buffer.

Read an integer from the byte buffer.
sourceraw docstring

get-longclj

(get-long buffer)

Read a long from the byte buffer.

Read a long from the byte buffer.
sourceraw docstring

get-nwqidsclj

(get-nwqids buffer)

Read nqwid[2] of qid[13] from the byte buffer.

Read nqwid[2] of qid[13] from the byte buffer.
sourceraw docstring

get-shortclj

(get-short buffer)

Read a short from the byte buffer.

Read a short from the byte buffer.
sourceraw docstring

get-stringclj

(get-string buffer)

Read 9P string[s] from the byte buffer.

Read 9P string[s] from the byte buffer.
sourceraw docstring

get-wnamesclj

(get-wnames buffer)

Read nwname[2] of wname[s] from the byte buffer.

Read nwname[2] of wname[s] from the byte buffer.
sourceraw docstring

put-byteclj

(put-byte x)

Wrap a byte in a byte-array.

Wrap a byte in a byte-array.
sourceraw docstring

put-bytecollclj

(put-bytecoll x)

Wrap a 9P byte collection in byte-array. Prepends the data with an integer representing the byte count of the data.

Wrap a 9P byte collection in byte-array. Prepends the data with an integer representing
the byte count of the data.
sourceraw docstring

put-intclj

(put-int x)

Wrap an int in a byte-array.

Wrap an int in a byte-array.
sourceraw docstring

put-longclj

(put-long x)

Wrap a long in a byte-array.

Wrap a long in a byte-array.
sourceraw docstring

put-qidclj

(put-qid x)

Wrap nwqid*wqid in a byte-array. Prepends the data with a short, representing the number of elements in the data.

Wrap nwqid*wqid in a byte-array. Prepends the data with a short,
representing the number of elements in the data.
sourceraw docstring

put-shortclj

(put-short x)

Wrap a short in a byte-array.

Wrap a short in a byte-array.
sourceraw docstring

put-stringclj

(put-string x)

Wrap 9P string[s] in a byte-array.

Wrap 9P string[s] in a byte-array.
sourceraw docstring

put-wnameclj

(put-wname x)

Wrap nwname*wname in a byte-array. Prepends the data with a short, representing the number of elements in the data.

Wrap nwname*wname in a byte-array. Prepends the data with a short,
representing the number of elements in the data.
sourceraw docstring

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

× close