OutputMutf8Sink

class OutputMutf8Sink(output: Output, bytesPerWrite: Int = 1024) : Mutf8Sink(source)

A Mutf8Sink that writes its data to an Output from the ktor library.

Parameters

output

The ktor Output to write to.

bytesPerWrite

The maximum number of bytes that will be copied to the sink's underlying destination at a time. This must be at least 1, though higher is recommended.

Throws

Constructors

Link copied to clipboard
fun OutputMutf8Sink(output: Output, bytesPerWrite: Int = 1024)

Functions

Link copied to clipboard
fun writeFromArray(characters: CharArray)
fun writeFromArray(characters: CharArray, range: IntRange)
fun writeFromArray(characters: CharArray, startIndex: Int, endIndex: Int)
Link copied to clipboard
fun writeFromSequence(characters: CharSequence, range: IntRange)
fun writeFromSequence(characters: CharSequence, startIndex: Int, endIndex: Int)
Link copied to clipboard
open override fun writeLength(mutf8Length: Int)