Class Mutf8
java.lang.Object
com.android.dex.Mutf8
Modified UTF-8 as described in the dex file format spec.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringDecodes bytes frominintooutuntil a delimiter 0x00 is encountered.static voidEncodes the modified UTF-8 bytes corresponding tosintodst, starting atoffset.static byte[]Returns an array containing the modified UTF-8 form ofs.
-
Method Details
-
decode
Decodes bytes frominintooutuntil a delimiter 0x00 is encountered. Returns a new string containing the decoded characters.- Throws:
UTFDataFormatException
-
encode
Encodes the modified UTF-8 bytes corresponding tosintodst, starting atoffset. -
encode
Returns an array containing the modified UTF-8 form ofs.- Throws:
UTFDataFormatException
-