Closed mkiedys closed 8 years ago
The only reason we have dependency to Akka is becuase of akka.util.ByteBuffer. Same goals can be achieved by using Scala IndexedSeq.
akka.util.ByteBuffer
IndexedSeq
Unfortunately IndexedSeq will make a copy of provided Array[Byte] the same way as does ByteBuffer.
Array[Byte]
ByteBuffer
The only reason we have dependency to Akka is becuase of
akka.util.ByteBuffer
. Same goals can be achieved by using ScalaIndexedSeq
.Unfortunately
IndexedSeq
will make a copy of providedArray[Byte]
the same way as doesByteBuffer
.