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 31a40ed commit 8d9c36cCopy full SHA for 8d9c36c
core/common/src/Buffers.kt
@@ -53,7 +53,7 @@ public fun Buffer.indexOf(byte: Byte, startIndex: Long = 0, endIndex: Long = siz
53
if (o == -1L) {
54
return -1L
55
}
56
- var segment: Segment? = seg!!
+ var segment: Segment? = seg
57
var offset = o
58
do {
59
check(endOffset > offset)
0 commit comments