Skip to content

Commit 7ab546c

Browse files
committed
Fixed sample's method name
1 parent 197146a commit 7ab546c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/jvm/src/BuffersJvm.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public fun Buffer.readAtMostTo(sink: ByteBuffer): Int {
180180
/**
181181
* Reads all data from [source] into this buffer.
182182
*
183-
* @sample kotlinx.io.samples.KotlinxIoSamplesJvm.bufferInteropWithNioBuffer
183+
* @sample kotlinx.io.samples.KotlinxIoSamplesJvm.transferBufferFromByteBuffer
184184
*/
185185
public fun Buffer.transferFrom(source: ByteBuffer): Buffer {
186186
val byteCount = source.remaining()

0 commit comments

Comments
 (0)