Class Utf8


  • public final class Utf8
    extends Object
    Converts byte[] -> String and vice versa.
    • Constructor Detail

      • Utf8

        public Utf8()
    • Method Detail

      • convert

        public static byte[] convert​(String s)
      • convert

        public static String convert​(byte[] b)
      • utf8StringLengthInBytes

        public static int utf8StringLengthInBytes​(String utf8)