MCPcopy Create free account
hub / github.com/CvvT/AppTroy / stringToUtf8Bytes

Method stringToUtf8Bytes

app/src/main/java/org/cc/util/Utf8Utils.java:42–67  ·  view source on GitHub ↗

Converts a string into its Java-style UTF-8 form. Java-style UTF-8 differs from normal UTF-8 in the handling of character '\0' and surrogate pairs. @param string non-null; the string to convert @return non-null; the UTF-8 bytes for it

(String string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

lengthMethod · 0.45
charAtMethod · 0.45

Tested by

no test coverage detected