Skip to content

Commit 8b34f7c

Browse files
committed
Introduce unsafe API for bulk read/write ops.
The API aimed to facilitate integration with other frameworks and libraries. Implemented API was initially described in the "Bulk API" subsection of #135 (comment)
1 parent d105268 commit 8b34f7c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

core/api/kotlinx-io-core.api

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
public final class kotlinx/io/Buffer : kotlinx/io/Sink, kotlinx/io/Source {
2+
public final fun #int#getHead ()Lkotlinx/io/Segment;
3+
public final fun #int#getSize ()J
4+
public final fun #int#getTail ()Lkotlinx/io/Segment;
5+
public final fun #int#recycleTail ()V
6+
public final fun #int#setHead (Lkotlinx/io/Segment;)V
7+
public final fun #int#setSize (J)V
8+
public final fun #int#setTail (Lkotlinx/io/Segment;)V
9+
public final fun #int#writableSegment (I)Lkotlinx/io/Segment;
210
public fun <init> ()V
311
public final fun clear ()V
412
public fun close ()V

0 commit comments

Comments
 (0)