Thanks to visit codestin.com Credit goes to github.com
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 73808e7 commit 651c1d2Copy full SHA for 651c1d2
04_local-io/4-19_handle-binary-files.asciidoc
@@ -62,7 +62,7 @@ using an intermediate `ByteBuffer`:
62
(defn prepare-string [strdata]
63
(let [strlen (count strdata)
64
version 66
65
- buflen (+ 1 4 (count strdata))
+ buflen (+ 1 4 strlen)
66
bb (ByteBuffer/allocate buflen)
67
buf (byte-array buflen)]
68
(doto bb
0 commit comments