Liking cljdoc? Tell your friends :D

rainboots.proto

Low-level protocol details

Low-level protocol details
raw docstring

encode-packetclj

(encode-packet pkt)
source

index-ofclj

(index-of buf-seq expect)
source

index-of-bufferclj

(index-of-buffer buffer expect)
source

max-sub-bytesclj

source

nth-byteclj

(nth-byte buf-seq n)
source

read-telnet-codeclj

(read-telnet-code buf-seq)

Given a sequence of bytes, attempt to find a telnet escape command sequence. If we found what might be an incomplete sequence, returns :-incomplete. If we found a complete sequence, returns a map with the decoded telnet sequence in :telnet, and the byte sequence before and after it in :before and :after, respectively

Given a sequence of bytes, attempt to find a telnet escape command
sequence.  If we found what might be an incomplete sequence, returns
:-incomplete. If we found a complete sequence, returns a map with
the decoded telnet sequence in :telnet, and the byte sequence before
and after it in :before and :after, respectively
sourceraw docstring

split-lineclj

(split-line buf-seq)

Given a sequence of non-telnet-escape bytes, if there is a

character, return a tuple of [string, remaining], where string is the string value of the input, and remaining is the remaining sequence of bytes.

Given a sequence of non-telnet-escape bytes, if there is a 

character, return a tuple of [string, remaining], where `string` is
the string value of the input, and `remaining` is the remaining
sequence of bytes.
sourceraw docstring

telnet-protocolclj

source

tn-breakclj

source

tn-codesclj

source

tn-data-markclj

source

tn-doclj

source

tn-dontclj

source

tn-iacclj

source

tn-ipclj

source

tn-keysclj

source

tn-nopclj

source

tn-op-echoclj

source

tn-op-nawsclj

source

tn-op-ttypeclj

source

tn-sbclj

source

tn-seclj

source

tn-sendclj

source

tn-willclj

source

tn-wontclj

source

unsigned-getclj

(unsigned-get buffer idx)
source

wrap-streamclj

(wrap-stream s on-packet)
source

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

× close