bytebuf.clj

Branches > client-handling-rewrite > b2259bc > files / src / dev / grahp / bytebuf.clj

(ns dev.grahp.bytebuf)

(defn print-bb [buf]
  (mapv #(bit-and % 0xFF)
        (subvec (vec (.array buf))
                (.readerIndex buf)
                (.writerIndex buf))))