-
public final class Utf8Okio assumes most applications use UTF-8 exclusively, and offers optimized implementations of common operations on UTF-8 strings.
-
-
Method Summary
Modifier and Type Method Description static longsize(String string)Returns the number of bytes used to encode {@code string}as UTF-8 when using or writeUtf8.static longsize(String string, int beginIndex, int endIndex)Returns the number of bytes used to encode the slice of {@code string}as UTF-8 when using writeUtf8.
-