StreamMutf8Sink
A Mutf8Sink that writes its data to an OutputStream.
Parameters
The OutputStream to write to.
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
if bytesPerWrite is less than 1
.
Constructors
Functions
Encodes all the characters in a CharSequence and writes them to the sink's underlying destination.
An alias for writeFromArray that uses a single range parameter, rather than a separate startIndex
and endIndex
.
Encodes all the characters in a specific range of a CharArray and writes them to the sink's underlying destination.
Encodes all the characters in a CharSequence and writes them to the sink's underlying destination.
An alias for writeFromSequence that uses a single range parameter, rather than a separate startIndex
and endIndex
.
Encodes all the characters in a specific range of a CharSequence and writes them to the sink's underlying destination.
Writes the length of a Modified UTF-8 string to the sink's underlying destination.