Skip to content

Commit bc6285d

Browse files
Fixed a copy-paste typo
Co-authored-by: Jake Wharton <[email protected]>
1 parent 613f51b commit bc6285d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bytestring/jvm/src/ByteStringJvmExt.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public fun ByteBuffer.putByteString(string: ByteString) {
106106
*/
107107
public fun ByteBuffer.putByteString(at: Int, string: ByteString) {
108108
checkIndexAndCapacity(at, string.size)
109-
// Absolute get(byte[]) was added only in JDK 13
109+
// Absolute put(byte[]) was added only in JDK 16
110110
for (idx in string.indices) {
111111
put(at + idx, string[idx])
112112
}

0 commit comments

Comments
 (0)