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.
2 parents 8aba938 + d043bc5 commit d733616Copy full SHA for d733616
core/shared/src/main/scala/fs2/Chunk.scala
@@ -889,8 +889,8 @@ object Chunk
889
890
override def toByteVector[B >: Byte](implicit ev: B =:= Byte): ByteVector = {
891
val bb = buf.asReadOnlyBuffer()
892
- bb.position(offset)
893
- bb.limit(offset + size)
+ (bb: JBuffer).position(offset)
+ (bb: JBuffer).limit(offset + size)
894
ByteVector.view(bb)
895
}
896
0 commit comments