open class ChunkBuffer : Buffer |
annotation class DangerousInternalIoApi
API marked with this annotation is internal and extremely fragile and not intended to be used by library users. Such API could be changed without notice including rename, removal and behaviour change. Also using API marked with this annotation could cause data loss or any other damage. |
class MalformedUTF8InputException : Exception |
fun ByteReadPacket.$unsafeAppend$(builder: BytePacketBuilder): Unit |
|
fun Input.completeReadHead(current: ChunkBuffer): Unit |
|
fun Buffer.decodeUTF8(consumer: (Char) -> Boolean): Int
Decodes all the bytes to utf8 applying every character on consumer until or consumer return |
|
suspend fun decodeUTF8LineLoopSuspend(out: Appendable, limit: Int, nextChunk: suspend (Int) -> Input?): Boolean |
|
fun Input.prepareReadFirstHead(minSize: Int): ChunkBuffer? |
|
fun Input.prepareReadNextHead(current: ChunkBuffer): ChunkBuffer? |
|
fun Output.prepareWriteHead(capacity: Int, current: ChunkBuffer?): ChunkBuffer |