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 35688e3 commit 5be6550Copy full SHA for 5be6550
Source/AwsCommonRuntimeKit/crt/ByteBuffer.swift
@@ -71,6 +71,6 @@ extension ByteBuffer: IStreamable {
71
}
72
73
public func isEndOfStream() -> Bool {
74
- return self.currentIndex >= self.data.count
+ return self.currentIndex >= self.data.endIndex
75
76
0 commit comments