Class Mutf8


  • public final class Mutf8
    extends Object
    Modified UTF-8 as described in the dex file format spec.

    Derived from libcore's MUTF-8 encoder at java.nio.charset.ModifiedUtf8.

    • Method Detail

      • encode

        public static void encode​(byte[] dst,
                                  int offset,
                                  String s)
        Encodes the modified UTF-8 bytes corresponding to s into dst, starting at offset.