clj-odbp.network.read

array-of

(array-of type-fn functions)
Read an array composed by defined type(s). Format is (elements:short)[values]

bool-type

(bool-type in)
Read a byte from the input stream and return a boolean. (1=true, 0=false)

byte-type

(byte-type in)
Read a single byte from the input stream.

bytes-type

(bytes-type in)
Read a sequence of bytes from the input stream.

int-type

(int-type in)
Read an integer from the input stream.

long-type

(long-type in)
Read a Long from the input stream.

short-type

(short-type in)
Read a Short from the input stream.

string-type

(string-type in)
Read a string from the input stream. Format is (length:int)[bytes]

strings-type

(strings-type in)
Read a set of strings from the input stream. Format is (elements:int)[strings]