Liking cljdoc? Tell your friends :D

cljam.io.util.lsb.data-io

Functions for reading little-endian data using DataInput.

NOTE: This namespace is intended to be used only from within cljam, and should not be used outside cljam.

Functions for reading little-endian data using DataInput.

NOTE: This namespace is intended to be used only from within cljam, and should
not be used outside cljam.
raw docstring

read-byteclj

(read-byte input)

Reads 1 byte. Returns a byte value.

Reads 1 byte. Returns a byte value.
sourceraw docstring

read-bytesclj

(read-bytes input length)
(read-bytes input buffer offset length)

Reads 'length' bytes to buffer starting from offset bytes. Returns a new byte-array if called without buffer.

Reads 'length' bytes to buffer starting from offset bytes. Returns a new byte-array if called without buffer.
sourceraw docstring

read-doubleclj

(read-double input)

Reads 8 bytes. Returns a double value.

Reads 8 bytes. Returns a double value.
sourceraw docstring

read-floatclj

(read-float input)

Reads 4 bytes. Returns a float value.

Reads 4 bytes. Returns a float value.
sourceraw docstring

read-intclj

(read-int input)

Reads 4 bytes. Returns an int value.

Reads 4 bytes. Returns an int value.
sourceraw docstring

read-longclj

(read-long input)

Reads 8 bytes. Returns a long value.

Reads 8 bytes. Returns a long value. 
sourceraw docstring

read-null-terminated-stringclj

(read-null-terminated-string input)

Reads until next null character. Returns a String without the null.

Reads until next null character. Returns a String without the null.
sourceraw docstring

read-shortclj

(read-short input)

Reads 2 bytes. Returns a short value.

Reads 2 bytes. Returns a short value.
sourceraw docstring

read-stringclj

(read-string input length)

Reads 'length' bytes. Returns a String.

Reads 'length' bytes. Returns a String.
sourceraw docstring

read-ubyteclj

(read-ubyte input)

Reads 1 byte. Returns an unsigned byte value as long.

Reads 1 byte. Returns an unsigned byte value as long.
sourceraw docstring

read-uintclj

(read-uint input)

Reads 4 bytes. Returns an unsigned int value as long.

Reads 4 bytes. Returns an unsigned int value as long.
sourceraw docstring

read-ushortclj

(read-ushort input)

Reads 2 bytes. Returns an unsigned short value as long.

Reads 2 bytes. Returns an unsigned short value as long.
sourceraw docstring

skipclj

(skip input length)

Skips over 'length' bytes of data, discarding the skipped bytes.

Skips over 'length' bytes of data, discarding the skipped bytes.
sourceraw docstring

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

× close