Package-level declarations
Utilities for Modified UTF-8 I/O with ktor-io
's Input
and Output
classes.
Types
A Mutf8Source that reads its data from an Input from the ktor library.
A Mutf8Sink that writes its data to an Output from the ktor library.
Functions
Creates a InputMutf8Source around the receiver, reads the length & contents of a Modified UTF-8 string, and then returns the contents as a CharArray.
Creates a InputMutf8Source around the receiver, reads the length & contents of a Modified UTF-8 string, and then returns the contents as a String.
Creates a InputMutf8Source around the receiver, reads the length & contents of a Modified UTF-8 string, and then writes those contents to the supplied destination, such as a StringBuilder.
Creates a OutputMutf8Sink around the receiver, writes the mutf8Length of the characters, and then writes the characters themselves.
Creates a OutputMutf8Sink around the receiver, writes the mutf8Length of the characters, and then writes the characters themselves.