File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- (defproject byte-streams " 0.2.4 "
1
+ (defproject byte-streams " 0.2.5-alpha1 "
2
2
:description " A simple way to handle the menagerie of Java byte represenations."
3
3
:license {:name " MIT License"
4
4
:url " http://opensource.org/licenses/MIT" }
Original file line number Diff line number Diff line change 434
434
(mapv
435
435
#(-> buf
436
436
.duplicate
437
- (.position % )
438
- ^ByteBuffer (.limit (min lim (+ % chunk-size)))
437
+ (.position ( int %) )
438
+ ^ByteBuffer (.limit (min lim (+ ( int %) chunk-size)))
439
439
.slice)
440
440
indices))
441
441
[buf]))
709
709
ByteBuffer
710
710
(take-bytes! [this n _]
711
711
(when (pos? (.remaining this))
712
- (let [n (min (.remaining this) n)
712
+ (let [n (int ( min (.remaining this) n) )
713
713
buf (-> this
714
714
.duplicate
715
715
^ByteBuffer (.limit (+ (.position this) n))
You can’t perform that action at this time.
0 commit comments