We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03dfe48 commit 3fbe1bcCopy full SHA for 3fbe1bc
src/io/aviso/binary.clj
@@ -3,8 +3,7 @@
3
(import (java.lang StringBuilder))
4
(require [io.aviso
5
[ansi :as ansi]
6
- [writer :as w]]
7
- [clojure.string :as s]))
+ [writer :as w]]))
8
9
(defprotocol BinaryData
10
"Allows various data sources to be treated as a byte-array data type that
@@ -41,11 +40,6 @@
41
40
(w/writef writer " %02X" (byte-at data (+ offset i))))
42
(w/write writer w/endline))
43
44
-(defn- join-lines
45
- "Joins all the lines together seperated by newlines."
46
- [lines]
47
- (s/join \newline lines))
48
-
49
(defn write-binary
50
"Formats a ByteData into a hex-dump string, consisting of multiple lines; each line formatted as:
51
0 commit comments