Class UTF8


  • public final class UTF8
    extends Object
    Encodes and decodes strings to/from binary using "modified UTF-8 encoding". This is the same encoding as is used by Java class files.
    • Method Detail

      • encode

        public static byte[] encode​(String s)
        Encode the given string.