Package-level declarations
Utilities for getting the size, in bytes, of an individual Char
, CharArray
, or CharSequence
when encoded as Modified UTF-8 data. For the sake of brevity, this is referred to as the mutf8Length
(Modified UTF-8 length).
JVM-specific utilities for Modified UTF-8 I/O with Java's InputStream
and OutputStream
classes
Utilities for getting the size, in bytes, of an individual Char
, CharArray
, or CharSequence
when encoded as Modified UTF-8 data. For the sake of brevity, this is referred to as the mutf8Length
(Modified UTF-8 length).
Types
Thrown when the end of a binary sequence is reached earlier than expected while reading.
Thrown when issue occurs while trying to read or write data to an external location, like a file or network socket.
Something that Modified UTF-8 data can be read from.
A Mutf8Sink that writes its data to an OutputStream.
A Mutf8Source that reads its data from an InputStream.
Thrown when malformed Modified UTF-8 data is read.
Functions
The summed mutf8Length for the characters in a subsection of this array.
The summed mutf8Length for the characters in a subsequence of this one.
Creates a StreamMutf8Source around the receiver, reads the length & contents of a Modified UTF-8 string, and then returns the contents as a CharArray.
Creates a StreamMutf8Source around the receiver, reads the length & contents of a Modified UTF-8 string, and then returns the contents as a String.
Creates a StreamMutf8Source 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 StreamMutf8Sink around the receiver, writes the mutf8Length of the characters, and then writes the characters themselves.
Creates a StreamMutf8Sink around the receiver, writes the mutf8Length of the characters, and then writes the characters themselves.
Properties
The summed mutf8Length for all the characters in the sequence.
The summed mutf8Length for all the characters in the array.